About
This level represents a Station Set in the API. From here you can select what Period you are interested in.
If a station is missing data you get an empty array as value,
"value": []
, in the JSON
answer. In the XML
answer the
value
element is missing. In the CSV
answer the value is just an empty
string.
GET /api/version/{version}/parameter/{parameter}/station-set/{stationSet}.{ext}
Parameters
{stationSet} | Lexical value. Available Station Sets are listed in the Parameter level.
Valid value is all which is the set of station that has data for the latest
hour. |
{parameter} | Numeric value. Available Parameters are listed in the Version level. |
{version} | Numeric value or latest . Try to use the Version
with the highest number instead of the Version titled
latest .
|
{ext} | The suffix specifying which mediatype to use. See mediatypes for more information. |
Examples
Example request and response for the Station level in different mediatypes. This response in not complete for the sake of readability.
GET /api/version/1.0/parameter/1/station/159880.atom
...
GET /api/version/1.0/parameter/1/station/159880.xml
...
GET /api/version/1.0/parameter/1/station/159880.json
...