# pandascore

> simple api wrapper for pandascore

Latest version **1.0.6** (published 2019-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install pandascore
pnpm add pandascore
yarn add pandascore
bun add pandascore
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2019-01-26 |
| First published | 2019-01-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| Author | tacyarg |
| Maintainers | tacyarg |
| Keywords | panda, score, pandascore, promise, node, nodejs, wrapper, api, axios, native-promises |

## Links

- npm: https://www.npmjs.com/package/pandascore
- Repository: https://github.com/tacyarg/pandascore
- Homepage: https://pandascore.co/
- Issues: https://github.com/tacyarg/pandascore/issues
- npm.io page: https://npm.io/package/pandascore

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.18.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2019-01-26
- 1.0.5 — 2019-01-26
- 1.0.4 — 2019-01-24
- 1.0.3 — 2019-01-24
- 1.0.2 — 2019-01-24
- 1.0.1 — 2019-01-24
- 1.0.0 — 2019-01-24

## README

# pandascore

A simple promise based library for the pandascore.co API

## Example

```js
const api = require('pandascore')({
  token: '',
})

api
  .listActions()
  .then(console.log)
  .catch(console.error)
```

## API Interface

### listActions()

List all available methods.

### listGames([options])

List all games pandascore supports.

- `options` - object containing optional arguments: sort, filter, range.

### getGame(id)

Get data about a specific videogame.

- `id` - The videogame id

### listLeagues([options])

List all leagues tracked by pandascore.

- `options` - object containing optional arguments: sort, filter, range.

### listLeaguesByGame(videogame_id, [options])

List all leagues by videogame id.

- `videogame_id` - string containing a game id.
- `options` - object containing optional arguments: sort, filter, range.

### getLeague(id)

Get data about a specific league.

- `id` - The league id

### listSeries([options])

List all series tracked by pandascore.

- `options` - object containing optional arguments: sort, filter, range.

### listSeriesByGame(videogame_id, [options])

List all series by game id.

- `videogame_id` - string containing a game id.
- `options` - object containing optional arguments: sort, filter, range.

### listSeriesByLeague(league_id, [options])

List all series by league.

- `league_id` - string containing a league id.
- `options` - object containing optional arguments: sort, filter, range.

### getSeries(id)

Get data by a series id.

- `id` - The series id

### listUpcomingSeries()

List all upcoming series.

### listRunningSeries()

List all running series.

### listPastSeries()

List all past series.

### listTournaments()

### getTournament(id)

Get data by a tournament id.

- `id` - The series id

### listTournamentsByGame(videogame_id, [options])

List all tournaments by game id.

- `videogame_id` - string containing a videogame id.
- `options` - object containing optional arguments: sort, filter, range.

### listTournamentsBySeries(serie_id, [options])

List all tournaments by game id.

- `serie_id` - string containing a serie id.
- `options` - object containing optional arguments: sort, filter, range.

### listTournamentsByLeague(league_id, [options])

List all tournaments by league id.

- `league_id` - string containing a league id.
- `options` - object containing optional arguments: sort, filter, range.

### listUpcomingTournaments()

List all upcoming tournaments.

### listRunningTournaments()

List all running tournaments.

### listPastTournaments()

List all past tournaments.

### listMatches([options])

List all matches by match id.

- `options` - object containing optional arguments: sort, filter, range.

### getMatch(id)

Get data by match id.

- `id` - The series id

### listMatchesByTeam(team_id, [options])

List all matches using a team id.

- `team_id` - string containing a team id.
- `options` - object containing optional arguments: sort, filter, range.

### listMatchesBySeries(serie_id, [options])

List all matches using a serie id.

- `serie_id` - string containing a serie id.
- `options` - object containing optional arguments: sort, filter, range.

### listMatchesByLeagues(league_id, [options])

List all matches using a league id.

- `league_id` - string containing a league id.
- `options` - object containing optional arguments: sort, filter, range.

### listMatchesByTournaments(tournament_id, [options])

List all matches using a tournament id.

- `tournament_id` - string containing a tournament id.
- `options` - object containing optional arguments: sort, filter, range.

### listUpcomingMatches()

List all upcoming matches.

### listUpcomingMatchesBySeries(serie_id)

List all upcoming matches by serie id.

- `serie_id` - string containing a serie id.

### listUpcomingMatchesByLeague(league_id)

List all upcoming matches by league id.

- `league_id` - string containing a league id.

### listRunningMatches()

List all running matches.

### listRunningMatchesBySeries(serie_id)

List all running matches serie id.

- `serie_id` - string containing a serie id.

### listRunningMatchesByLeague(league_id)

List all running matches league id.

- `league_id` - string containing a league id.

### listPastMatches()

List all past matches.

### listPastMatchesBySeries(serie_id)

List all past matches serie id.

- `serie_id` - string containing a serie id.

### listPastMatchesByLeague(league_id)

List all past matches league id.

- `league_id` - string containing a league id.

### listMatchOpponents(id)

List opponents by match id.

- `id` - The match id

### listPlayers([options])

List all players.

- `options` - object containing optional arguments: sort, filter, range.

### getPlayer(id)

Get data by player id.

- `id` - The player id

### listTeams([options])

List all teams.

- `options` - object containing optional arguments: sort, filter, range.

### listTeamsByTournament(tournament_id, [options])

List all teams by tournament id.

- `tournament_id` - tournament id.
- `options` - object containing optional arguments: sort, filter, range.

### getTeam(id)

Get data by team id.

### listIncidents([options])

list all incidents.

- `options` - object containing optional arguments: sort, filter, range.

### listIncidentsByGame(videogame, [options])

List incidents by videgame.

- `videogame` - videogame id.
- `options` - object containing optional arguments: sort, filter, range.

### listChanges([options])

List all changes.

- `options` - object containing optional arguments: sort, filter, range.

### listChangesByGame(videogame, [options])

List changes by videgame.

- `videogame` - videogame id.
- `options` - object containing optional arguments: sort, filter, range.

### listAdditions([options])

List all additions.

- `options` - object containing optional arguments: sort, filter, range.

### listAdditionsByGame(videogame, [options])

List additions by videgame.

- `videogame` - videogame id.
- `options` - object containing optional arguments: sort, filter, range.

---
_Source: https://npm.io/package/pandascore · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
