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
get
/football/api/v1/manager/{id}
GET /football/api/v1/manager/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
    "status": true,
    "statusCode": 200,
    "message": "Data fetch successfully",
    "response": {
        "name": "Xabi Alonso",
        "shortName": "X. Alonso",
        "teams": [
            {
                "name": "Real Madrid",
                "shortName": "Real Madrid",
                "gender": "M",
                "category": {
                    "name": "Spain",
                    "id": 32,
                    "flag": "spain",
                    "alpha2": "ES"
                },
                "tournament": {
                    "name": "LaLiga",
                    "category": {
                        "name": "Spain",
                        "id": 32,
                        "flag": "spain",
                        "alpha2": "ES"
                    },
                    "uniqueTournament": {
                        "name": "LaLiga",
                        "category": {
                            "name": "Spain",
                            "id": 32,
                            "flag": "spain",
                            "alpha2": "ES"
                        },
                        "hasPerformanceGraphFeature": true,
                        "id": 8,
                        "displayInverseHomeAwayTeams": false
                    },
                    "isLive": false,
                    "id": 36
                },
                "primaryUniqueTournament": {
                    "name": "LaLiga",
                    "category": {
                        "name": "Spain",
                        "id": 32,
                        "flag": "spain",
                        "alpha2": "ES"
                    },
                    "hasPerformanceGraphFeature": true,
                    "id": 8,
                    "displayInverseHomeAwayTeams": false
                },
                "nameCode": "RMA",
                "disabled": false,
                "national": false,
                "type": 0,
                "id": 2829,
                "fullName": "Real Madrid"
            }
        ],
        "preferredFormation": "3-4-2-1",
        "deceased": false,
        "id": 795501,
        "country": {
            "alpha2": "ES",
            "name": "Spain"
        },
        "team": {
            "name": "Real Madrid",
            "shortName": "Real Madrid",
            "gender": "M",
            "category": {
                "name": "Spain",
                "id": 32,
                "flag": "spain",
                "alpha2": "ES"
            },
            "tournament": {
                "name": "LaLiga",
                "category": {
                    "name": "Spain",
                    "id": 32,
                    "flag": "spain",
                    "alpha2": "ES"
                },
                "uniqueTournament": {
                    "name": "LaLiga",
                    "category": {
                        "name": "Spain",
                        "id": 32,
                        "flag": "spain",
                        "alpha2": "ES"
                    },
                    "hasPerformanceGraphFeature": true,
                    "id": 8,
                    "displayInverseHomeAwayTeams": false
                },
                "isLive": false,
                "id": 36
            },
            "primaryUniqueTournament": {
                "name": "LaLiga",
                "category": {
                    "name": "Spain",
                    "id": 32,
                    "flag": "spain",
                    "alpha2": "ES"
                },
                "hasPerformanceGraphFeature": true,
                "id": 8,
                "displayInverseHomeAwayTeams": false
            },
            "nameCode": "RMA",
            "disabled": false,
            "national": false,
            "type": 0,
            "id": 2829,
            "fullName": "Real Madrid"
        },
        "formerPlayerId": 708,
        "nationality": "ESP",
        "nationalityISO2": "ES",
        "performance": {
            "total": 244,
            "wins": 133,
            "draws": 56,
            "losses": 55,
            "goalsScored": 466,
            "goalsConceded": 283,
            "totalPoints": 455
        },
        "dateOfBirthTimestamp": 375494400
    }
}

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
get
/football/api/v1/manager/career/{id}
GET /football/api/v1/manager/career/{id} HTTP/1.1
Host: apiv3.sportsapi360.com
Authorization: x-api-key YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
    "status": true,
    "statusCode": 200,
    "message": "Data fetch successfully",
    "response": [
        {
            "team": {
                "name": "Real Madrid",
                "shortName": "Real Madrid",
                "gender": "M",
                "nameCode": "RMA",
                "disabled": false,
                "national": false,
                "type": 0,
                "id": 2829
            },
            "performance": {
                "total": 6,
                "wins": 4,
                "draws": 1,
                "losses": 1,
                "totalPoints": 13
            },
            "startTimestamp": 1748736000,
            "endTimestamp": 1845936000
        },
        {
            "team": {
                "name": "Bayer 04 Leverkusen",
                "shortName": "Leverkusen",
                "gender": "M",
                "nameCode": "B0L",
                "disabled": false,
                "national": false,
                "type": 0,
                "id": 2681
            },
            "performance": {
                "total": 140,
                "wins": 89,
                "draws": 32,
                "losses": 19,
                "totalPoints": 299
            },
            "startTimestamp": 1664928000,
            "endTimestamp": 1748649600
        },
        {
            "team": {
                "name": "Real Sociedad B",
                "shortName": "Real Sociedad B",
                "gender": "M",
                "nameCode": "RSO",
                "national": false,
                "type": 0,
                "id": 24360
            },
            "performance": {
                "total": 98,
                "wins": 40,
                "draws": 23,
                "losses": 35,
                "totalPoints": 143
            },
            "startTimestamp": 1561939200,
            "endTimestamp": 1656547200
        }
    ]
}

Last updated