ezraroi / MundialitoV2

Social Football Betting Web Application
1 stars 1 forks source link

integrate football-data api - team stats page #14

Closed ezraroi closed 3 weeks ago

ezraroi commented 4 weeks ago

https://api.football-data.org/v4/teams/759

{
    "area": {
        "id": 2088,
        "name": "Germany",
        "code": "DEU",
        "flag": "https://crests.football-data.org/759.svg"
    },
    "id": 759,
    "name": "Germany",
    "shortName": "Germany",
    "tla": "GER",
    "crest": "https://crests.football-data.org/759.svg",
    "address": "Otto-Fleck-Schneise 6 / Postfach 710265 Frankfurt am Main 60492",
    "website": "http://www.dfb.de",
    "founded": 1900,
    "clubColors": "White / Black",
    "venue": "RheinEnergieSTADION",
    "runningCompetitions": [
        {
            "id": 2018,
            "name": "European Championship",
            "code": "EC",
            "type": "CUP",
            "emblem": "https://crests.football-data.org/ec.png"
        }
    ],
    "coach": {
        "id": 336,
        "firstName": "Julian",
        "lastName": "Nagelsmann",
        "name": "Julian Nagelsmann",
        "dateOfBirth": "1987-07-23",
        "nationality": "Germany",
        "contract": {
            "start": "2023-09",
            "until": "2026-07"
        }
    },
    "squad": [
        {
            "id": 316,
            "name": "Oliver Baumann",
            "position": "Goalkeeper",
            "dateOfBirth": "1990-06-02",
            "nationality": "Germany"
        },
        {
            "id": 341,
            "name": "Manuel Neuer",
            "position": "Goalkeeper",
            "dateOfBirth": "1986-03-27",
            "nationality": "Germany"
        },
        {
            "id": 3173,
            "name": "Marc-André ter Stegen",
            "position": "Goalkeeper",
            "dateOfBirth": "1992-04-30",
            "nationality": "Germany"
        },
        {
            "id": 6491,
            "name": "Alexander Nübel",
            "position": "Goalkeeper",
            "dateOfBirth": "1996-09-30",
            "nationality": "Germany"
        },
        {
            "id": 3177,
            "name": "Antonio Rüdiger",
            "position": "Defence",
            "dateOfBirth": "1993-03-03",
            "nationality": "Germany"
        },
        {
            "id": 47,
            "name": "Toni Kroos",
            "position": "Midfield",
            "dateOfBirth": "1990-01-04",
            "nationality": "Germany"
        },
        {
            "id": 171,
            "name": "Kai Havertz",
            "position": "Midfield",
            "dateOfBirth": "1999-06-11",
            "nationality": "Germany"
        },
        {
            "id": 3182,
            "name": "Ilkay Gündogan",
            "position": "Midfield",
            "dateOfBirth": "1990-10-24",
            "nationality": "Germany"
        },
        {
            "id": 8273,
            "name": "Pascal Groß",
            "position": "Midfield",
            "dateOfBirth": "1991-06-15",
            "nationality": "Germany"
        },
        {
            "id": 370,
            "name": "Thomas Müller",
            "position": "Offence",
            "dateOfBirth": "1989-09-13",
            "nationality": "Germany"
        },
        {
            "id": 202665,
            "name": "Aleksandar Pavlović",
            "position": "Defensive Midfield",
            "dateOfBirth": "2004-05-03",
            "nationality": "Germany"
        },
        {
            "id": 191147,
            "name": "Brajan Gruda",
            "position": "Right Winger",
            "dateOfBirth": "1986-02-04",
            "nationality": "Germany"
        },
        {
            "id": 150517,
            "name": "Rocco Reitz",
            "position": "Central Midfield",
            "dateOfBirth": "2002-05-29",
            "nationality": "Germany"
        },
        {
            "id": 144393,
            "name": "Jamal Musiala",
            "position": "Attacking Midfield",
            "dateOfBirth": "2003-02-26",
            "nationality": "Germany"
        },
        {
            "id": 133903,
            "name": "Maximilian Beier",
            "position": "Centre-Forward",
            "dateOfBirth": "2002-10-17",
            "nationality": "Germany"
        },
        {
            "id": 75539,
            "name": "Nico Schlotterbeck",
            "position": "Centre-Back",
            "dateOfBirth": "1999-12-01",
            "nationality": "Germany"
        },
        {
            "id": 45611,
            "name": "Robert Andrich",
            "position": "Defensive Midfield",
            "dateOfBirth": "1994-09-22",
            "nationality": "Germany"
        },
        {
            "id": 19334,
            "name": "Florian Wirtz",
            "position": "Attacking Midfield",
            "dateOfBirth": "2003-05-03",
            "nationality": "Germany"
        },
        {
            "id": 9905,
            "name": "David Raum",
            "position": "Left-Back",
            "dateOfBirth": "1998-04-22",
            "nationality": "Germany"
        },
        {
            "id": 9479,
            "name": "Robin Koch",
            "position": "Centre-Back",
            "dateOfBirth": "1996-07-17",
            "nationality": "Germany"
        },
        {
            "id": 6928,
            "name": "Deniz Undav",
            "position": "Centre-Forward",
            "dateOfBirth": "1996-07-19",
            "nationality": "Germany"
        },
        {
            "id": 6549,
            "name": "Maximilian Mittelstädt",
            "position": "Left-Back",
            "dateOfBirth": "1997-03-18",
            "nationality": "Germany"
        },
        {
            "id": 3184,
            "name": "Leroy Sané",
            "position": "Right Winger",
            "dateOfBirth": "1996-01-11",
            "nationality": "Germany"
        },
        {
            "id": 379,
            "name": "Waldemar Anton",
            "position": "Centre-Back",
            "dateOfBirth": "1996-07-20",
            "nationality": "Germany"
        },
        {
            "id": 359,
            "name": "Joshua Kimmich",
            "position": "Right-Back",
            "dateOfBirth": "1995-02-08",
            "nationality": "Germany"
        },
        {
            "id": 304,
            "name": "Niclas Füllkrug",
            "position": "Centre-Forward",
            "dateOfBirth": "1993-02-09",
            "nationality": "Germany"
        },
        {
            "id": 206,
            "name": "Chris Führich",
            "position": "Left Winger",
            "dateOfBirth": "1998-01-09",
            "nationality": "Germany"
        },
        {
            "id": 156,
            "name": "Benjamin Henrichs",
            "position": "Right-Back",
            "dateOfBirth": "1997-02-23",
            "nationality": "Germany"
        },
        {
            "id": 149,
            "name": "Jonathan Tah",
            "position": "Centre-Back",
            "dateOfBirth": "1996-02-11",
            "nationality": "Germany"
        }
    ],
    "staff": [],
    "lastUpdated": "2021-05-26T09:46:39Z"
}