Manager

Manager Details

get

Get Manager Details

This endpoint retrieves detailed information about a football manager based on their unique identifier.

Request

  • Method: GET

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

  • Path Parameter:

    • id (required): The unique identifier of the manager whose details are to be fetched.

Response

The response will return a JSON object with the following structure:

  • status: Indicates the success of the request (boolean).

  • statusCode: A numerical code representing the status of the response (integer).

  • message: A message providing additional context (string).

  • response: An object containing the manager's details, including:

    • name: The full name of the manager (string).

    • shortName: A shorter version of the manager's name (string).

    • teams: An array of teams associated with the manager, where each team object includes:

      • name: The name of the team (string).

      • shortName: The short name of the team (string).

      • gender: The gender category of the team (string).

      • category: An object containing details about the team category (name, id, flag, alpha2).

      • tournament: An object detailing the tournament information associated with the team.

      • isLive: Indicates if the team is currently active (boolean).

      • id: The unique identifier of the team (integer).

    • preferredFormation: The formation preferred by the manager (string).

    • deceased: Indicates if the manager is deceased (boolean).

    • id: The unique identifier of the manager (integer).

    • country: An object containing the country information (alpha2, name).

    • performance: An object summarizing the manager's performance metrics (total wins, draws, losses, goals scored, goals conceded, total points).

    • dateOfBirthTimestamp: The timestamp of the manager's date of birth (integer).

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 795501
Header parameters
x-api-keystringOptional
Responses
chevron-right
200

OK

text/plain
Responsestring
get
/football/api/v1/manager/{id}
200

OK

Manager Career

get

Get Manager Career Details

This endpoint retrieves the career details of a football manager identified by their unique ID.

Request

  • Method: GET

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

  • Path Parameter:

    • id (required): The unique identifier of the manager whose career details are being requested.

Response

On success, the response will return a JSON object with the following structure:

  • status: A boolean indicating the success of the request.

  • statusCode: An integer representing the status code of the response.

  • message: A string providing additional information about the request (if any).

  • response: An array containing the career details of the manager, where each item includes:

    • team: An object with details about the team, including:

      • name: The name of the team.

      • shortName: The abbreviated name of the team.

      • gender: The gender category of the team.

      • nameCode: A code representing the name of the team.

      • disabled: A boolean indicating if the team is disabled.

      • national: A boolean indicating if the team is a national team.

      • type: An integer representing the type of team.

      • id: The unique identifier of the team.

    • performance: An object summarizing the manager's performance, including:

      • total: Total number of matches managed.

      • wins: Total number of matches won.

      • draws: Total number of matches drawn.

      • losses: Total number of matches lost.

      • totalPoints: Total points accumulated.

This response structure allows consumers of the API to easily understand the career trajectory and performance metrics of the specified football manager.

Authorizations
HTTPRequired
Path parameters
idintegerRequiredExample: 795501
Header parameters
x-api-keystringOptional
Responses
chevron-right
200

OK

text/plain
Responsestring
get
/football/api/v1/manager/career/{id}
200

OK

Last updated