Skip to content
Hockay API
Esc
↑↓navigate↵open⌘Jpreview

League rivalries and the most despised

GET/rivalries
Authorization
x-api-keyAPI key · headerrequired
Responses
200

OK

dataRivalriesrequired
Show properties
leagueobject[]required
Show properties
Array of object
teamIdstringrequired
rivalTeamIdstringrequired
mutualbooleanrequired
mostDespisedobject[]required
Show properties
Array of object
teamIdstringrequired
heldByintegerrequired
min -9007199254740991 · max 9007199254740991
304

Not modified (If-None-Match matched the ETag)

401

Missing, unknown, revoked, or expired key

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
403

This account cannot use this key class

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
429

Rate limited; retry after the Retry-After seconds

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
Try it
Server
Authorization
Request
curl -X GET 'https://hockay.com/api/v1/rivalries' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "data": {
    "league": [
      {
        "teamId": "string",
        "rivalTeamId": "string",
        "mutual": true
      }
    ],
    "mostDespised": [
      {
        "teamId": "string",
        "heldBy": -9007199254740991
      }
    ]
  }
}

Was this page helpful?