### Example Response for All Continents Source: https://cricket-postman.sportmonks.com/ This is an example JSON response when requesting all continents. It includes the resource type, ID, name, and last updated timestamp for each continent. ```json { "data": [ { "resource": "continents", "id": 1, "name": "Europe", "updated_at": "2017-05-04T19:31:29.000000Z" }, { "resource": "continents", "id": 2, "name": "Asia", "updated_at": "2017-05-04T19:31:40.000000Z" }, { "resource": "continents", "id": 3, "name": "Africa", "updated_at": "2017-05-04T19:32:19.000000Z" }, { "resource": "continents", "id": 4, "name": "Oceania", "updated_at": "2017-05-04T19:32:42.000000Z" }, { "resource": "continents", "id": 5, "name": "Antarctica", "updated_at": "2017-05-04T19:32:52.000000Z" }, { "resource": "continents", "id": 6, "name": "North America", "updated_at": "2017-05-04T19:33:10.000000Z" }, { "resource": "continents", "id": 7, "name": "South America", "updated_at": "2017-05-04T19:33:25.000000Z" } ] } ``` -------------------------------- ### Example Headers for All Continents Response Source: https://cricket-postman.sportmonks.com/ These are example headers returned with the 'All Continents' API response. They include content type, rate limiting information, and caching details. ```text Date: Mon, 04 Jan 2021 12:57:51 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Cache-Control: no-cache, private X-RateLimit-Limit: 2000 X-RateLimit-Remaining: 1998 Strict-Transport-Security: max-age=31536000 Vary: Accept-Encoding CF-Cache-Status: DYNAMIC cf-request-id: 076f12c25e0000fa3ca290e000000001 Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=7SCfPBTgqjaar137p7EavUiEeEgdalRMswuCtKnnnwlzVviYkbeT4UR%2FOhwX90coIF5%2FurwMf5ZqM%2B9SBEAIBkB62Uvf2vsEq11tQhUwCkIyLWhZCUZU"}],"group":"cf-nel","max_age":604800} NEL: {"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 60c520b09a5dfa3c-AMS Content-Encoding: br ``` -------------------------------- ### Get Continent by ID - cURL Source: https://cricket-postman.sportmonks.com/ This cURL example demonstrates how to fetch a specific continent by its ID. Replace :CONTINENT_ID with the actual ID of the continent you want to retrieve. ```cURL curl --location 'https://cricket.sportmonks.com/api/v2.0/continents/:CONTINENT_ID' ``` -------------------------------- ### Example JSON Response for Continent Data Source: https://cricket-postman.sportmonks.com/ This is a sample JSON response when successfully fetching continent data. It includes resource type, ID, name, and update timestamp. ```json { "data": { "resource": "continents", "id": 1, "name": "Europe", "updated_at": "2017-05-04T19:31:29.000000Z" } } ``` -------------------------------- ### Get All Continents - cURL Source: https://cricket-postman.sportmonks.com/ Use this cURL command to fetch all available continents. Ensure you have the correct API token for authentication. ```cURL curl --location 'https://cricket.sportmonks.com/api/v2.0/continents' ``` -------------------------------- ### Get Continent by ID Source: https://cricket-postman.sportmonks.com/ Retrieves details for a specific continent using its ID. Supports filtering and sorting. ```APIDOC ## GET /api/v2.0/continents/{id} ### Description Retrieves details for a specific continent by its ID. ### Method GET ### Endpoint `/api/v2.0/continents/{id}` ### Parameters #### Path Parameters - **id** (integer) - Required - The unique identifier of the continent. #### Query Parameters - **fields[object]** (string) - Optional - Specify which fields to return (e.g., `id,name,code`). - **filter[name]** (string) - Optional - Filter results by continent name (e.g., `Indian Super League`). - **include** (string) - Optional - Include related data (e.g., `teams`). - **sort** (string) - Optional - Sort results by one or more fields (e.g., `name`). ### Request Example ```bash curl --location 'https://cricket.sportmonks.com/api/v2.0/continents/1' ``` ### Response #### Success Response (200) - **data** (object) - Contains the continent details. - **resource** (string) - The type of resource. - **id** (integer) - The unique identifier of the continent. - **name** (string) - The name of the continent. - **updated_at** (string) - The timestamp when the continent was last updated. #### Response Example ```json { "data": { "resource": "continents", "id": 1, "name": "Europe", "updated_at": "2017-05-04T19:31:29.000000Z" } } ``` ``` -------------------------------- ### All Continents Source: https://cricket-postman.sportmonks.com/ Retrieves a list of all available continents. This endpoint can be used to categorize countries and leagues. ```APIDOC ## GETAll Continents ### Description Retrieves a list of all available continents. This endpoint can be used to categorize countries and leagues. ### Method GET ### Endpoint https://cricket.sportmonks.com/api/v2.0/continents ### Parameters #### Query Parameters - **fields[object]** (string) - Optional - Only return fields you are interested in. Example: `&fields[object]=id,name,code` - **filter[name]** (string) - Optional - Array of fields to filter on. Example: `?filter[name]=Indian Super League` - **include** (string) - Optional - One or a comma-separated list of relationships to include. - **sort** (string) - Optional - One or comma-separated list of fields to sort on. ### Request Example ```curl curl --location 'https://cricket.sportmonks.com/api/v2.0/continents' ``` ### Response #### Success Response (200) - **data** (array) - Contains a list of continent objects. - **resource** (string) - The type of resource. - **id** (integer) - The unique identifier for the continent. - **name** (string) - The name of the continent. - **updated_at** (string) - The timestamp when the continent was last updated. #### Response Example ```json { "data": [ { "resource": "continents", "id": 1, "name": "Europe", "updated_at": "2017-05-04T19:31:29.000000Z" } ] } ``` ``` -------------------------------- ### Fetch Continent by ID using cURL Source: https://cricket-postman.sportmonks.com/ Use this cURL command to retrieve continent data by its unique identifier. Ensure you have the correct API token and base URL. ```curl curl --location 'https://cricket.sportmonks.com/api/v2.0/continents/1' ``` -------------------------------- ### Continent by ID Source: https://cricket-postman.sportmonks.com/ Retrieves a specific continent by its unique identifier. This endpoint is useful for fetching details of a single continent. ```APIDOC ## GETContinent by ID ### Description Retrieves a specific continent by its unique identifier. This endpoint is useful for fetching details of a single continent. ### Method GET ### Endpoint https://cricket.sportmonks.com/api/v2.0/continents/:CONTINENT_ID ### Parameters #### Path Parameters - **CONTINENT_ID** (integer) - Required - The unique identifier of the continent. #### Query Parameters - **fields[object]** (string) - Optional - Only return fields you are interested in. Example: `&fields[object]=id,name,code` - **include** (string) - Optional - You can add a max of 10 levels of nested includes. Example: `countries` ### Response #### Success Response (200) - **resource** (string) - The type of resource. - **id** (integer) - The unique identifier for the continent. - **name** (string) - The name of the continent. - **updated_at** (string) - The timestamp when the continent was last updated. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.