Introduction
Meteonetwork weather station network data is available through the REST API.
Please refer to the Swagger documentation available here. Human-readable documentation here.
Endpoints
Current version: 3 (please refer to swagger documentation for revisions)
https://api.meteonetwork.it/v3
Warning: v1 (/xml-rpc) and v2 (/v2) versions are DEPRECATED: support ended on 22/06/2020 and will not works anymore.
Authentication
You need a myMeteoNetwork account. Register here for free!
These APIs use the Bearer authentication scheme:
- Get a STANDARD token by /login method
- To send a request to methods, include a HTTP Header
Authorization: Bearer <token>
cURL Example:
curl --request POST \
--url https://api.meteonetwork.it/v3/login \
--header 'Content-Type: multipart/form-data' \
--form email=email@email.com \
--form password=password
Some bulk methods require a BULK type token. Read the documentation to request a BULK token type through the /login method (additional information is required about the activity you are going to perform).
Bulks are resource-intensive requests: we are a non-profit association and the entire IT infrastructure is maintained thanks to the valuable contribution of Members, Donors and Collaborations. So we ask for your help by offering your service or with a donation.
You will be contacted by our team for the contribution you have chosen. Remember: we are a non-profit association that lives with your help!.
If you don’t reply to our team, your token will be disabled.
Usage
You can find all methods here. Include your token in the Authorization header.
cURL Example to Single Weather Station Realtime Data (invalid token)
curl --request GET \
--url 'https://api.meteonetwork.it/v3/data-realtime/lmb015?observation_date=2020-01-01' \
--header 'Authorization: Bearer 99|eyhi35h2ui5hi3u45ughwiuhi4h5i23h5i2h35uoi23'
License
Our platform and database are available under CC-BY 4.0 license. Please read License terms
Policies for using the MeteoNetwork Services
MeteoNetwork APIs are provided to query the MeteoNetwork weather database. Clients can be blocked without warning if they affect the service level for others or cause data corruption.
Using the API, the user agrees to:
- Use the data attribution license;
- Do not actively or passively encourage copyright infringement;
- Present yourself with a valued and real User-Agent.
- Maximum 1 request per second;
- Maximum 1 thread.
Individual services are subject to throttling. Contact us if you need to exceed the standard limits.
Support
You can contact us at settore.tecnico@meteonetwork.it