basketballapi.net

Documentation / Reference

Competitions

GET/v1/competitions

Every competition held, with its seasons and games.

Free key and up A list: pages of 50, see paging

Parameters

NameInTypeAbout
pagequeryintegerWhich page, from 1.
cursorquerystringThe next_cursor from the last answer, to carry on.
per_pagequeryintegerRecords an answer, from 1 to 200. 50 if left out.

What comes back

data is a list of these:

FieldTypeAbout
ididA competition id.
namestring
slugstring
countrystring or null
genderstring
kindstring
seasonsinteger
first_seasonstring or null
last_seasonstring or null
gamesinteger

Errors

400422401403429 What each one means