14.09.2023, 13:23
Many thanks!
Now there is an other posibility to send weather data via API as following.
Is it posible to do it like this?
Using the API directly
If you're a developer and would like to use the API directly, details are provided below.
Upload URL:
WOW expects an HTTP request, in the form of either GET or POST, to the following URL. When received, WOW will interpret and validate the information supplied and respond as below.
The URL to send your request to is: http://wow.metoffice.gov.uk/automaticreading? followed by a set of key/value pairs indicating pieces of data.
Response and Errors
All requests will return a status code. A success is indicated by 200. Anything else is a failure. A human readable error message will accompany all errors in JSON format.
Mandatory Information:
All uploads must contain 4 pieces of mandatory information plus at least 1 piece of weather data.
Site ID - siteid:
The unique numeric id of the site
Authentication Key - siteAuthenticationKey:
A pin number, chosen by the user to authenticate with WOW.
Date - dateutc:
Each observation must have a date, in the date encoding specified below.
Software Type - softwaretype
The name of the software, to identify which piece of software and which version is uploading data
Now there is an other posibility to send weather data via API as following.
Is it posible to do it like this?
Using the API directly
If you're a developer and would like to use the API directly, details are provided below.
Upload URL:
WOW expects an HTTP request, in the form of either GET or POST, to the following URL. When received, WOW will interpret and validate the information supplied and respond as below.
The URL to send your request to is: http://wow.metoffice.gov.uk/automaticreading? followed by a set of key/value pairs indicating pieces of data.
Response and Errors
All requests will return a status code. A success is indicated by 200. Anything else is a failure. A human readable error message will accompany all errors in JSON format.
Mandatory Information:
All uploads must contain 4 pieces of mandatory information plus at least 1 piece of weather data.
Site ID - siteid:
The unique numeric id of the site
Authentication Key - siteAuthenticationKey:
A pin number, chosen by the user to authenticate with WOW.
Date - dateutc:
Each observation must have a date, in the date encoding specified below.
Software Type - softwaretype
The name of the software, to identify which piece of software and which version is uploading data