This project uses Swagger-codegen to generate SDKs for a variety of languages and frameworks.
The swagger spec file is a Swagger 2.0 json file that can be downloaded from https://raw.githubusercontent.com/cbornet/netatmo-swagger-decl/master/swagger.json.
The languages/frameworks client libraries generated are :
- Android & Java (Jersey1, Jersey2, okhttp-gson or retrofit)
- iOS (Objective-C or Swift)
- AngularJS
- Scala
- Akka
- C# .Net
- Dart
- Flash
- Perl
- PHP
- Python
- Qt5 C++
- Ruby
- Tizen
- AngularJS
- Node.js
You can find the libs here.
Note : For the moment, only the retrofit client library has a full OAuth2 implementation. For the other libs the access token must be gotten outside of the library and added to the query params of the request.
This can help mock a Netatmo server for integration tests
- JAX-RS (Java)
- Node.js (Javascript)
- Scalatra (Scala)
- Silex (PHP)
- Sinatra (Ruby)
- Spring-mvc (Java)
You can find the libs here.
You can find a sample application showing the usage of the retrofit generated code including OAuth2 authentication here