WeatherSV API

https://weathersv.app/api/channel/

Returns an array of active channels. See below for the format of each channel.

https://weathersv.app/api/channel/<channel id>

% curl 'https://weathersv.app/api/channel/14zQZtfNsQy3rA89rmtxrqXnP3DVHaNkq1'
{
  "id": "14zQZtfNsQy3rA89rmtxrqXnP3DVHaNkq1",
  "location": {
    "name": "Cairns",
    "country": "AU",
    "timezone": "Australia/Brisbane",
    "lng": 145.766663,
    "lat": -16.91667,
    "population": 154225
  },
  "status": {
    "active_until": "2022-04-22T12:59:59.999Z",
    "forecast_until": "2021-11-04T03:59:59.999Z"
  },
  "current": {
    "datetime": "2021-07-19T04:09:04.000Z",
    "conditions": {
      "t": 26.62,
      "h": 69,
      "p": 1012,
      "c": 90,
      "ws": 3.6,
      "wd": 50
    },
    "txid": "2c6d5f5f2e2813b7088621df57306a5531dab27525b753305e7820ca63a276fe"
  }
}

    

https://weathersv.app/api/channel/<channel id>/weather?start=<timestamp>&end=<timestamp>

Returns an array of datapoints between the specified start and end timestamps.
% curl 'https://weathersv.app/api/channel/14zQZtfNsQy3rA89rmtxrqXnP3DVHaNkq1/weather?start=2021-01-01T00:00:00.000Z&end=2021-01-02T00:00:00.000Z'
[
  {
    "datetime": "2021-01-01T00:09:05.000Z",
    "conditions": {
      "t": 26,
      "h": 88,
      "p": 1008,
      "c": 90,
      "ws": 2.6,
      "wd": 150
    },
    "txid": "3559c1af80c543e383cc8ad6c1485be11a5dab4d4ccd695accae74312889343e"
  },
  ...
]