Matches Weather
This endpoint allows you to retrieve the weather from matches.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every hour. Recommended Calls: Limit calls to 1 every hour.
Use Cases
Get weather based on the idhttps://darts.sportdevs.com/matches-weather?id=eq.{id}
Query Parameters
- id integer
Default value:
eq.1
The id of the weather
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the weather
Note: This is a Primary Key.
- dt timestamp with time zone
The date of the weather
- temp numeric
The temperature of the weather
Kelvin
- feels_like numeric
The human perception of the weather
- pressure numeric
The pressure of the weather
- humidity numeric
The humidity of the weather in
%
- dew_point numeric
The minimum temperature of the weather
Kelvin
- uvi numeric
The maximum value of UV index for the day
- clouds numeric
The cloudiness of the weather in
%
- wind_speed numeric
The wind speed
Metre/Sec
- wind_deg numeric
The wind direction
Degrees
- wind_gust numeric
The wind gust
Metre/Sec
- weather_id integer
The random id of the weather
- weather_main text
The title of the weather
- weather_description text
The description of the weather
- weather_icon text
The name of the image
- pop numeric
The probability of precipitation in
%
[
{
"id": 1,
"dt": "2023-12-15T19:00:00+00:00",
"temp": 279.63,
"feels_like": 277.53,
"pressure": 1038,
"humidity": 83,
"dew_point": 276.7,
"uvi": 0,
"clouds": 93,
"wind_speed": 2.86,
"wind_deg": 228,
"wind_gust": 8.71,
"weather_id": 804,
"weather_main": "Clouds",
"weather_description": "overcast clouds",
"weather_icon": "04n",
"pop": 0
}
]