Weather 🌦

Works anywhere in the world.

Get Weather

GET https://api.roote.ai/realtime/:coords/weather/:lang?token=:token

The weather in a geographical area.

Path Parameters

Name
Type
Description

:coords

string

Latitude,Longitude 48.8614515,2.337829

:lang

string

Call language, French by default. ar, bg, ca, cz, de, el, en, fa, fi, fr, gl, hr, hu, it, ja, kr, la, lt, mk, nl, pl, pt, ro, ru, se, sk, sl, es, tr, ua, vi, zh_cn, zh_tw.

Query Parameters

Name
Type
Description

:token

string

Token api.roote.ai

{
    "coord": {
    "lon": 2.34,
    "lat": 48.86
    },
    "weather": [
    {
    "id": 804,
    "main": "Clouds",
    "description": "couvert",
    "icon": "04n"
    }
    ],
    "base": "stations",
    "main": {
    "temp": 11.11,
    "pressure": 1011,
    "humidity": 81,
    "temp_min": 8.89,
    "temp_max": 13
    },
    "visibility": 10000,
    "wind": {
    "speed": 4.1,
    "deg": 280
    },
    "clouds": {
    "all": 90
    },
    "dt": 1559006302,
    "sys": {
    "type": 1,
    "id": 6550,
    "message": 0.0096,
    "country": "FR",
    "sunrise": 1559015714,
    "sunset": 1559072451
    },
    "timezone": 7200,
    "id": 6269531,
    "name": "Paris 01 Louvre",
    "cod": 200
}

Get Forecast

GET https://api.roote.ai/realtime/:coords/forecast/:lang?token=:token

Zone weather forecast

Path Parameters

Name
Type
Description

:coords

string

:lang

string

Query Parameters

Name
Type
Description

:token

string

Dernière mise à jour