StatsHub Docs
APIEndpoint referenceAccount

/v2/me/favorite-players

List the caller's favorite players

GET
/api/v2/me/favorite-players

List the caller's favorite players

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/me/favorite-players"
{  "data": [    {      "notes": "string",      "player": {        "country": {          "alpha2": "string",          "name": "string",          "slug": "string"        },        "gender": "string",        "heightCm": 0,        "id": "string",        "jerseyNumber": 0,        "name": "string",        "position": "string",        "preferredFoot": "string",        "shortName": "string",        "slug": "string",        "team": {          "id": "string",          "name": "string",          "slug": "string"        }      }    }  ]}