1.0.1 • Published 1 year ago
yongjun-sdk v1.0.1
The Lord of the Rings API SDK (write by YongJun 12/23/2022)
An SDK for an existing Lord of the Rings API
Installation
yarn add yongjun-sdk
or
npm install yongjun-sdk -S
Usage
var sdk = require('yongjun-sdk');
sdk.initApi("y-********-******")
sdk.getMovieList().then(json=>{
console.log(json)
});
- typescript
import namehash from 'yongjun-sdk';
sdk.initApi("y-********-******")
sdk.getMovieList().then(json=>{
console.log(json)
});
Development
This module supports advanced JavaScript syntax, but exports an ES5-compatible module. To re-build the exported module after making changes, run npm run bundle
(must have browserify installed).
1.0.1
1 year ago