I had checked the documentation but unable to find a way to access to Nanoleaf, what I got is the JSON structure on documentation , anyone could point out the way for access to Nanoleaf light panels , eg: 192.188.x.x/…/api/v1/… is there any standard link ?
You can access the API using anything that can make HTTP calls. A great way to get started is using a tool like Postman (https://www.getpostman.com/).
The first thing you need to do is generate an authorization token (section 6 of the Open API documentation) by holding the on-off button for 5-7 seconds, and then sending a POST request like this (substituting the IP address for your Aurora controller):
http:192.188.x.x/api/vi/new
The result returned will be an 32-character authorization token that you will use in all of your subsequent calls. For example, to retrieve the panel layout, you'd send a HTTP GET request like this (inserting your authorization token):
http:192.188.x.x/api/v1/<auth_token>/panelLayout/layout
I hope this helps you get started.
That documentation is fantastic -Thanks for posting it!
Thank you all for this info! =D
@KethHekel The link you mentioned is no longer valid. Do you happen to know the new URL?