Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomheaton/javaleaf
java nanoleaf
https://github.com/tomheaton/javaleaf
java nanoleaf
Last synced: about 12 hours ago
JSON representation
java nanoleaf
- Host: GitHub
- URL: https://github.com/tomheaton/javaleaf
- Owner: tomheaton
- Created: 2021-09-21T13:14:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T22:29:07.000Z (3 months ago)
- Last Synced: 2024-08-24T23:31:52.255Z (3 months ago)
- Topics: java, nanoleaf
- Language: Java
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javaleaf
java nanoleaf
## example
| variable | value |
| --- | --- |
| host | The IP Address of the Nanoleaf product |
| accessToken | The Authorization Token of the Nanoleaf product |
| port | The Port of the Nanoleaf product (default: `16021`) |```java
import dev.tomheaton.NanoleafClient;NanoleafClient client = new NanoleafClient("192.168.4.20", "zbp3aHIDoj0Ox2iAr857WMFck58mOBaL", 16021);
client.getEffects();
```## todo
- [ ] publish to GitHub Maven
- [x] add docstrings
- [ ] clean up http request code
- [ ] return data
- [ ] add promises
- [ ] add tests?
- [ ] improve `README.md`
- [x] add example
- [ ] add apiEndpoint to NanoleafClient constructor (allows users to change the API endpoint for Nanoleaf if, say, a new API version was released).
- [ ] add auth generation## credits
- Jack Lafond's [nanoleaf.js](https://github.com/jacc/nanoleaf.js/) for the idea and base structure
- [this article](https://documenter.getpostman.com/view/1559645/RW1gEcCH) on Postman for providing details on the API endpoints