SofaScore

SofaScore team of the week periods

Lists the periods of a competition season for which SofaScore published a team of the week, newest first: league rounds (round), weekly time spans (timespan) and season-level selections (season, such as an NBA regular season or playoff team). Use a returned period id with sofascore-team-of-the-week. An empty list is valid when no team of the week has been published yet. Get id from search and season from tournament-seasons.

get/sofascore/team-of-the-week-periods

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/team-of-the-week-periods
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id

seasonstring required

Numeric SofaScore season id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "periods": [
      {
        "id": 29321,
        "name": "round",
        "type": "round"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.