Teams by Season

GET

The Teams by Season ID endpoint returns a list of teams participants on a single season

Description

Headersapplication/json
Endpoint Example https://api.sportdatastreamapi.com/teams/?user=USERNAME&token=TOKEN&t=byseason&season_id=SEASON_ID
Endpoint https://api.sportdatastreamapi.com/teams/?user=null&token=null&t=byseason&season_id=406
PaginatedNo, this endpoint is not paginated

Example Response

{
    "data": [
  {
    "id": 111,
    "name": "B. Munich",
    "country_id": 4
  },
  {
    "id": 101,
    "name": "Leipzig",
    "country_id": 4
  },
  {
    "id": 98,
    "name": "Dortmund",
    "country_id": 4
  },
  {
    "id": 2815,
    "name": "M´gladbach",
    "country_id": 4
  },
  {
    "id": 114,
    "name": "Leverkusen",
    "country_id": 4
  },
  {
    "id": 2816,
    "name": "Schalke",
    "country_id": 4
  },
  {
    "id": 2808,
    "name": "Wolfsburg",
    "country_id": 4
  },
  {
    "id": 2818,
    "name": "Hoffenheim",
    "country_id": 4
  },
  {
    "id": 2812,
    "name": "Freiburg",
    "country_id": 4
  },
  {
    "id": 2819,
    "name": "Union Berlin",
    "country_id": 4
  },
  {
    "id": 2817,
    "name": "Frankfurt",
    "country_id": 4
  },
  {
    "id": 2814,
    "name": "Augsburg",
    "country_id": 4
  },
  {
    "id": 2809,
    "name": "Cologne",
    "country_id": 4
  },
  {
    "id": 2806,
    "name": "Hertha",
    "country_id": 4
  }
    ],
  }