Javascript function API to access the NIU cloud.
A project originated from an article in the Elektroroller-Forum [German].
$ git clone https://github.com/BlueAndi/niu-cloud-connector.git
$ cd niu-cloud-connector
$ npm install
Find the API description in the ./doc folder.
Change credentials (account, password, country code) in the ./test/test.js
and run npm run test
.
If you search for a command line interface to use it for some script, take a look to the niu-cloud-cli project.
- niu_api_service.rb (Ruby on Rails) from Sascha Gehlich.
- NIU-API (PHP) from Volker Schulz.
- Web-App (PHP) from Aleix Pellicer. See article in the Elektroroller-Forum [German].
If you have further ideas or you found some bugs, great! Create a issue or if you are able and willing to fix it by yourself, clone the repository and create a pull request.
The whole source code is published under the MIT license.