Weather Feeds

This document illustrates the weather feeds data request parameters, endpoint and the data returned.

API Call

Base Url: https://weather-feeds.gora.io

Get Weather: GET /api/v1/weather

Parameters - Get current weather by address:

Example Call

https://weather-feeds.gora.io/api/v1/weather?area=Ruiru&state=Kiambu&country=Kenya&unitOfMeasure=metric&key=##signKey

Parameters - Get weather forecast by address and date:

Example Call

https://weather-feeds.gora.io/api/v1/weather?area=Ruiru&state=Kiambu&country=Kenya&unitOfMeasure=metric&dateTime=2023-07-10THH:mm:ss&key=##signKey

Parameters - Get weather forecast by geo-location and date:

Example Call

https://weather-feeds.gora.io/api/v1/weather?latitude=53.3831657&longitude=-3.1906736&unitOfMeasure=metric&dateTime=2023-07-20T08:00:00&key=##signKey

Example Response (JSON)

{
    "status": 200,
    "result": "success",
    "description": "Successfully fetched VisualCrossing Weather",
    "query": {
        "area": "Ruiru",
        "state": "Kiambu",
        "country": "Kenya",
        "unitOfMeasure": "metric"
    },
    "provider": {
        "name": "VisualCrossing"
    },
    "data": {
        "temperature": 21.6,
        "precProbability": 0,
        "precipitation": 0,
        "feelsLike": 21.6,
        "high": null,
        "low": null,
        "windSpeed": 16.1,
        "twentyFourHourRain": null,
        "visibility": 10,
        "cloudCover": 74.7,
        "humidity": 47.7,
        "windgust": null,
        "windspeed": 16.1,
        "winddir": 236,
        "snow": 0,
        "solarradiation": 101,
        "solarenergy": 0.4,
        "uvindex": 1,
        "pressure": 1014,
        "sunset": 1689003809,
        "sunrise": 1688960174,
        "unitOfMeasure": "metric"
    },
    "time": "Mon, 12 Jun 2023 07:41:24 GMT",
    "timestamp": 1686555684545
}

Results Schema

Last updated