Skip to main content

Referees

This endpoint allows you to retrieve the referees.

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 day.
Recommended Calls: Limit calls to 1 per day.

Use Cases

Get referees based on the id
https://aussie-rules.sportdevs.com/referees?id=eq.{id}

Get referees from a specific country_id
https://aussie-rules.sportdevs.com/referees?country_id=eq.{country_id}

Query Parameters
  • id integer

    Default value: eq.1755

    The id of the referee

  • country_id integer

    Default value: eq.26

    The id of the country

  • 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 referee

    Note: This is a Primary Key.

  • name text

    The name of the referee

  • hash_image character varying

    Possible values: <= 64 characters

    The name of the image

  • country_id integer

    The id of the country

    Note: This is a Foreign Key to countries.id.

  • country_name text

    The name of the country

  • country_hash_image character varying

    Possible values: <= 64 characters

    The name image of the country

Loading...