Associations By Country Query Using GraphQL

Associations By Country Query Using GraphQL

Names and association keys of the cricket associations in a country that are covered by Roanuz sports. The association key is required to access information from other query endpoints such as the Association Featured Tournaments.
Cricket API Image
Follow this link to get started with a new project before you start using GraphQL

Sample Query

Associations - International - Here's the sample query for you to make request in order to access information on the international association.

Query Arguments

Associations By Country Query accepts the following attributes

country_code
Str optional

The code of the country whose list of associations will be fetched. Get the Country Code

The code of the country whose list of associations will be fetched. Get the Country Code

page_key
Str optional

The page key helps in accessing the next and previous pages of the query response. You can retrieve the page key by requesting the next and previous page keys fields in the GraphQL query

The page key helps in accessing the next and previous pages of the query response. You can retrieve the page key by requesting the next and previous page keys fields in the GraphQL query

international
Bool optional

The INTERNATIONAL parameter, when included, fetches only the associations of the International cricket teams.

The INTERNATIONAL parameter, when included, fetches only the associations of the International cricket teams.

more scenarios

Here are some scenarios that you must consider while making query request

Associations - IndiaHere is the query for accessing the information on the association in India.
Argument Required ErrorAssociations by country expects either international or country_code in the query arguments if both are not provided it raised argument required error

Downloads

A few snapshots of the Associations By Country Query in action under different scenarios that could help you in testing your app and understanding the responses in most cases.