npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pandascore

v1.0.6

Published

simple api wrapper for pandascore

Downloads

17

Readme

pandascore

A simple promise based library for the pandascore.co API

Example

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.