Images
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.
2829Successful response
GET /football/api/v1/image/team/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
Successful response
No content
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.
826643Successful response
GET /football/api/v1/image/player/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
Successful response
No content
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/:idPath 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.
795501Successful response
GET /football/api/v1/image/manager/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
Successful response
No content
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/FranceResponse: An image of the French flag.
ESSuccessful response
GET /football/api/v1/image/flags/{name} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
Successful response
No content
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.
7dark or light
darkSuccessful response
GET /football/api/v1/image/tournament/unique/{id}/{theme} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
Successful response
No content
Last updated

