README
OData library
A NodeJS library to access OData services provided by the Netweaver server.
Installation
$ npm install @sap_oss/odata-library
Getting Started
const Service = require("@sap_oss/odata-library").Service;
let service = new Service("https://username:password@localhost/path/to/service/");
service.init.then(()=> {
return service.Entity_Set_Name.get(1);
}).then((result) => {
console.log(result);
});
Documentations
- Read entities from the OData service
- Create, update and delete entities
- Support for Entity Data Model types and conversion of the Javascript variables to the OData primitives
- Connect to services and define connection configuration
- Writing tests and running test with the testing frameworks
- How to use async/await to avoid promises
- Validate OData model
Contact Us
Jakub Vaclavik <jakub.vaclavik@sap.com>
Michal Nezerka <michal.nezerka@sap.com>
Norbert Volf <norbert.volf@sap.com>
License
Copyright (c) 2020-2021 SAP SE or an SAP affiliate company and odata-library contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.