I made a small python 3 library where you easily talk with the Nuki API, you just need to get your API token and the base address. The base address for Nuki is “https://api.nuki.io/”. I made it variable so it may can be reused with an implementation very similar to the API from Nuki so you don’t need to rewrite it, you just need to change the base URL.
Here is a GitHub repo containing the code.
If you need any help you can message me in this Thread, but please remember to google your problem first.
Disclaimer: this library is a third party library and not affiliated with Nuki, it’s implemented using their API documentation and specifications which can change at any time and without notice
Feel free to modify, redistribute or do some cool automation with this library have fun!