@sap_oss/odata-library
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

OData library

REUSE status

A NodeJS library to access OData services provided by the Netweaver server.

Prerequisites

NodeJS is installed. Minimum version of NodeJS is 18.

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);
  });

Upgrade to version 1.x from 0.x

"ca" parameter is not supported (due to use fetch instead of superagent). Use environment variable NODE_EXTRA_CA_CERTS to define custom certificate authority.

export NODE_EXTRA_CA_CERTS=[your CA certificate file path]

Documentations

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.

Readme

Keywords

Package Sidebar

Install

npm i @sap_oss/odata-library

Weekly Downloads

256

Version

2.3.4

License

Apache-2.0

Unpacked Size

3.46 MB

Total Files

424

Last publish

Collaborators

  • teresacerdeirasap
  • b.santos
  • l.marques
  • liboyu
  • young.yang03
  • xinye23
  • st.babev
  • i337562
  • silke.arians
  • matthias_schmalz
  • ipaunov
  • sapnaas
  • sap_extncrepos
  • gperrow_sap
  • irinap
  • mnezerka
  • norbik
  • yusmen.rashidov
  • mkunev
  • s.petkov
  • valentina.dimitrova
  • magoli2
  • sbuehler1
  • task-explorer-bot
  • tal-mi
  • sagishm