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://football.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-10-25T22:00:00+00:00",
"temp": 292.18,
"feels_like": 292.62,
"pressure": 1008,
"humidity": 95,
"dew_point": 291.14,
"uvi": 0,
"clouds": 80,
"wind_speed": 3.03,
"wind_deg": 134,
"wind_gust": 6.45,
"weather_id": 803,
"weather_main": "Clouds",
"weather_description": "broken clouds",
"weather_icon": "04n",
"pop": 0.67
}
]