javascript
ErnMovieListDemoApi - JavaScript client for javascript
Walmart Item Module
This SDK is automatically generated by Electrode Native API generator.
It uses Swagger to generate bridge code for Swift, Android and React Native.
- API version:
- Package version: 1.0.0
Installation
npm
To publish the library as a npm,
please follow the procedure in "Publishing npm packages".
Then install it via:
npm install javascript --save
Git
If the library is hosted at a Git repository, e.g.
https://github.com/GIT_USER_ID/GIT_REPO_ID
then install it via:
npm install GIT_USER_ID/GIT_REPO_ID --save
Getting Started
Please follow the installation instruction and execute the following JS code:
import { ErnMovieListDemoApi } from 'javascript';
const api = new ErnMovieListDemoApi.WalmartItemApi()
api.addItem(item).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Documentation for API Endpoints
All URIs are relative to https://localhost
Class | Method | request type | Description |
---|
ErnMovieListDemoApi.WalmartItemApi | addItem | request /items | |
ErnMovieListDemoApi.WalmartItemApi | findItems | request /items | |
ErnMovieListDemoApi.WalmartItemApi | itemAdded | event event/itemAdded | |
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.