node-chepiao-sdk
Node.js SDK for chepiao100.com.
Install
npm install chepiao-sdk --save
Usage
-
Register and get your
userid
andseckey
: chepiao100.com -
Initialize the SDK
var Chepiao = ;var chepiao =userid: 'your userid'seckey: 'your secret key'; -
Use the API
chepiao;
API
- Train schedule
chepiao;
- Query train tickets
chepiao;
- Query flight tickets
chepiao;
License
The MIT License