Images

Team Image

get

Get Team Image

This endpoint retrieves the image associated with a specific football team identified by its unique ID.

Request Parameters

  • id (path parameter): The unique identifier of the team whose image is to be fetched. This parameter is required.

This endpoint is useful for applications that need to display team images dynamically based on user selection or other criteria.

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 2829
Header parameters
x-api-keystringOptional
Responses
get
/football/api/v1/image/team/{id}
GET /football/api/v1/image/team/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Player Image

get

Get Player Image

This endpoint retrieves the image associated with a specific player identified by their unique ID.

Request Parameters

  • id (path parameter): The unique identifier of the player whose image is being requested. This parameter is required.

On a successful request, the response will include the player's image in a format suitable for display.

Notes

  • Ensure that the player ID provided is valid and corresponds to an existing player in the system.

  • The response will return a 200 status code on success, and appropriate error codes for invalid requests or if the player is not found.

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 826643
Header parameters
x-api-keystringOptional
Responses
get
/football/api/v1/image/player/{id}
GET /football/api/v1/image/player/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Manager Image

get

Get Manager Image

This endpoint retrieves the image associated with a specific football manager identified by their unique ID.

Request

  • Method: GET

  • Endpoint: https://apiv3.sportsapi360.com/football/api/v1/image/manager/:id

  • Path Parameter:

    • id (string): The unique identifier of the football manager whose image is to be fetched.

Response

The response will contain the image data of the specified manager. The expected format is an image file, which may vary based on the manager's image type (e.g., JPEG, PNG).

The response will return the image file directly in the body of the response.

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 795501
Header parameters
x-api-keystringOptional
Responses
get
/football/api/v1/image/manager/{id}
GET /football/api/v1/image/manager/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Flag Image

get

Get Country Flag Image

This endpoint retrieves the flag image of a specified country.

Request

  • Method: GET

  • Endpoint: https://apiv3.sportsapi360.com/football/api/v1/image/flags/:name

Parameters

  • Path Parameter:

    • name (string): The name of the country whose flag image is to be retrieved. This should be the official name of the country.

Response

The response will be in image format (typically PNG or JPEG) representing the flag of the specified country. The content type of the response will be image/png or image/jpeg depending on the format of the flag image.

Example

  • Request: GET https://apiv3.sportsapi360.com/football/api/v1/image/flags/France

  • Response: An image of the French flag.

Authorizations
HTTPRequired
Path parameters
namestringRequiredExample: ES
Header parameters
x-api-keystringOptional
Responses
get
/football/api/v1/image/flags/{name}
GET /football/api/v1/image/flags/{name} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Tournament Image

get

Endpoint Description

This endpoint retrieves an image associated with a specific tournament based on the provided unique identifier and an optional theme.

Request

  • Method: GET

  • URL: https://apiv3.sportsapi360.com/football/api/v1/image/tournament/unique/:id/:theme?

Path Parameters

  • :id (string, required): The unique identifier for the tournament. This parameter is essential to specify which tournament's image is being requested.

  • :theme (string, optional): An optional parameter that allows the user to specify a theme for the image. If provided, the response will return an image that aligns with the specified theme.

This endpoint is useful for applications that need to display tournament images dynamically based on user selections or preferences.

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 7
themestringRequired

dark or light

Example: dark
Header parameters
x-api-keystringOptional
Responses
get
/football/api/v1/image/tournament/unique/{id}/{theme}
GET /football/api/v1/image/tournament/unique/{id}/{theme} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Last updated