Closed JorisM closed 10 years ago
Great work! Thank you!
I have done some refactoring before merging. I moved the GPIO-API method into the GPIO-plugin and created a little "API-Framework" for plugins.
The route for the api methods is /api/:plugin/:method?
Where :plugin
is the key of the plugin (e.g. gpio) and :method?
, an optional param if the plugin needs more api routes.
I will extend the heimcontrol.js documentation with the API methods and add a link to your application.
You can see the final PR here: https://github.com/ni-c/heimcontrol.js/pull/40/files
Alright, thank you!
Add support for login with API token. Needed this for this project:
http://jorism.github.io/Heimdroid/
I ran into merge conflicts, I hope I solved them properly.
Here are basic docs for API: http://docs.heimcontroljs.apiary.io/ I'm happy to change docs to whatever format/system you want, just let me know