Skip to main content

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 id
https://hockey.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

Responses

OK


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 %

Loading...