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://aussie-rules.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-27T09:00:00+00:00",
"temp": 291.84,
"feels_like": 291.85,
"pressure": 997,
"humidity": 80,
"dew_point": 287.24,
"uvi": 0.46,
"clouds": 71,
"wind_speed": 5.94,
"wind_deg": 231,
"wind_gust": 6.99,
"weather_id": 500,
"weather_main": "Rain",
"weather_description": "light rain",
"weather_icon": "10d",
"pop": 0.32
}
]