A simple promise based library for the pandascore.co API
const api = require('pandascore')({
token: '',
})
api
.listActions()
.then(console.log)
.catch(console.error)
List all available methods.
List all games pandascore supports.
options
- object containing optional arguments: sort, filter, range.
Get data about a specific videogame.
id
- The videogame id
List all leagues tracked by pandascore.
options
- object containing optional arguments: sort, filter, range.
List all leagues by videogame id.
videogame_id
- string containing a game id.options
- object containing optional arguments: sort, filter, range.
Get data about a specific league.
id
- The league id
List all series tracked by pandascore.
options
- object containing optional arguments: sort, filter, range.
List all series by game id.
videogame_id
- string containing a game id.options
- object containing optional arguments: sort, filter, range.
List all series by league.
league_id
- string containing a league id.options
- object containing optional arguments: sort, filter, range.
Get data by a series id.
id
- The series id
List all upcoming series.
List all running series.
List all past series.
Get data by a tournament id.
id
- The series id
List all tournaments by game id.
videogame_id
- string containing a videogame id.options
- object containing optional arguments: sort, filter, range.
List all tournaments by game id.
serie_id
- string containing a serie id.options
- object containing optional arguments: sort, filter, range.
List all tournaments by league id.
league_id
- string containing a league id.options
- object containing optional arguments: sort, filter, range.
List all upcoming tournaments.
List all running tournaments.
List all past tournaments.
List all matches by match id.
options
- object containing optional arguments: sort, filter, range.
Get data by match id.
id
- The series id
List all matches using a team id.
team_id
- string containing a team id.options
- object containing optional arguments: sort, filter, range.
List all matches using a serie id.
serie_id
- string containing a serie id.options
- object containing optional arguments: sort, filter, range.
List all matches using a league id.
league_id
- string containing a league id.options
- object containing optional arguments: sort, filter, range.
List all matches using a tournament id.
tournament_id
- string containing a tournament id.options
- object containing optional arguments: sort, filter, range.
List all upcoming matches.
List all upcoming matches by serie id.
serie_id
- string containing a serie id.
List all upcoming matches by league id.
league_id
- string containing a league id.
List all running matches.
List all running matches serie id.
serie_id
- string containing a serie id.
List all running matches league id.
league_id
- string containing a league id.
List all past matches.
List all past matches serie id.
serie_id
- string containing a serie id.
List all past matches league id.
league_id
- string containing a league id.
List opponents by match id.
id
- The match id
List all players.
options
- object containing optional arguments: sort, filter, range.
Get data by player id.
id
- The player id
List all teams.
options
- object containing optional arguments: sort, filter, range.
List all teams by tournament id.
tournament_id
- tournament id.options
- object containing optional arguments: sort, filter, range.
Get data by team id.
list all incidents.
options
- object containing optional arguments: sort, filter, range.
List incidents by videgame.
videogame
- videogame id.options
- object containing optional arguments: sort, filter, range.
List all changes.
options
- object containing optional arguments: sort, filter, range.
List changes by videgame.
videogame
- videogame id.options
- object containing optional arguments: sort, filter, range.
List all additions.
options
- object containing optional arguments: sort, filter, range.
List additions by videgame.
videogame
- videogame id.options
- object containing optional arguments: sort, filter, range.