Skip to content

wep4you/netatmo-swagger-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netatmo-Swagger-API

Autogenerated SDK for the Netatmo API

This project uses Swagger-codegen to generate SDKs for a variety of languages and frameworks.

Generation

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.

Languages/frameworks client SDK

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.

Languages/frameworks server SDK

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.

Retrofit sample application

You can find a sample application showing the usage of the retrofit generated code including OAuth2 authentication here

About

Autogenerated SDK for the Netatmo API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 30.1%
  • C++ 11.9%
  • C# 8.8%
  • PHP 8.6%
  • Python 7.3%
  • Objective-C 6.1%
  • Other 27.2%