An open API service indexing awesome lists of open source software.

https://github.com/blueandi/niu-cloud-connector

Javascript function API to access the NIU cloud.
https://github.com/blueandi/niu-cloud-connector

cloud e-scooter niu nodejs

Last synced: over 1 year ago
JSON representation

Javascript function API to access the NIU cloud.

Awesome Lists containing this project

README

          

# niu-cloud-connector
Javascript function API to access the NIU cloud.

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
[![Repo Status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Release](https://img.shields.io/github/release/BlueAndi/niu-cloud-connector.svg)](https://github.com/BlueAndi/niu-cloud-connector/releases)

A project originated from an [article in the Elektroroller-Forum](https://www.elektroroller-forum.de/viewtopic.php?f=63&t=6227) [German].

## Installation

```
$ git clone https://github.com/BlueAndi/niu-cloud-connector.git
$ cd niu-cloud-connector
$ npm install
```

## API description

Find the API description in the [./doc](https://github.com/BlueAndi/niu-cloud-connector/tree/master/doc) folder.

## Test

Change credentials (account, password, country code) in the ```./test/test.js``` and run ```npm run test```.

## Command line interface

If you search for a command line interface to use it for some script, take a look to the [niu-cloud-cli](https://github.com/BlueAndi/niu-cloud-cli) project.

## Other related projects

* [niu_api_service.rb](https://gist.github.com/saschagehlich/36d3584ea3812e59abdb9a2de05b9be0) (Ruby on Rails) from Sascha Gehlich.
* [NIU-API](https://github.com/volkerschulz/NIU-API) (PHP) from Volker Schulz.
* [Web-App](https://github.com/aleixpellicer/niu) (PHP) from Aleix Pellicer. See [article in the Elektroroller-Forum](https://www.elektroroller-forum.de/viewtopic.php?f=63&t=9843) [German].

## Issues, Ideas and bugs

If you have further ideas or you found some bugs, great! Create a [issue](https://github.com/BlueAndi/niu-cloud-connector/issues) or if
you are able and willing to fix it by yourself, clone the repository and create a pull request.

## License
The whole source code is published under the [MIT license](http://choosealicense.com/licenses/mit/).