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

@datafire/sportsdata_csgo_v3_scores

v3.0.0

Published

DataFire integration for CS:GO v3 Scores

Downloads

10

Readme

@datafire/sportsdata_csgo_v3_scores

Client library for CS:GO v3 Scores

Installation and Usage

npm install --save @datafire/sportsdata_csgo_v3_scores
let sportsdata_csgo_v3_scores = require('@datafire/sportsdata_csgo_v3_scores').create({
  apiKeyHeader: "",
  apiKeyQuery: ""
});

.then(data => {
  console.log(data);
});

Description

CS:GO v3 Scores

Actions

MembershipsActive

Memberships (Active)

sportsdata_csgo_v3_scores.MembershipsActive({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

AreasCountries

Areas (Countries)

sportsdata_csgo_v3_scores.AreasCountries({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

  • output array

CompetitionFixturesLeagueDetails

Competition Fixtures (League Details)

sportsdata_csgo_v3_scores.CompetitionFixturesLeagueDetails({
  "format": "",
  "competitionid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • competitionid required string: A CS:GO competition/league unique CompetitionId. Possible values include: 100000009, etc.

Output

CompetitionsLeagues

Competitions (Leagues)

sportsdata_csgo_v3_scores.CompetitionsLeagues({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

GamesByDate

Games by Date

sportsdata_csgo_v3_scores.GamesByDate({
  "format": "",
  "date": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • date required string: The date of the game(s).

Output

  • output array

MembershipsHistorical

Memberships (Historical)

sportsdata_csgo_v3_scores.MembershipsHistorical({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

MembershipsByTeamHistorical

Memberships by Team (Historical)

sportsdata_csgo_v3_scores.MembershipsByTeamHistorical({
  "format": "",
  "teamid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • teamid required string: Unique FantasyData Team ID.

Output

MembershipsByTeamActive

Memberships by Team (Active)

sportsdata_csgo_v3_scores.MembershipsByTeamActive({
  "format": "",
  "teamid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • teamid required string: Unique FantasyData Team ID.

Output

Player

Player

sportsdata_csgo_v3_scores.Player({
  "format": "",
  "playerid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • playerid required string: Unique FantasyData Player ID.

Output

Players

Players

sportsdata_csgo_v3_scores.Players({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

PlayersByTeam

Players by Team

sportsdata_csgo_v3_scores.PlayersByTeam({
  "format": "",
  "teamid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • teamid required string: Unique FantasyData Team ID.

Output

Schedule

Schedule

sportsdata_csgo_v3_scores.Schedule({
  "format": "",
  "roundid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • roundid required string: Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints.

Output

  • output array

SeasonTeams

Season Teams

sportsdata_csgo_v3_scores.SeasonTeams({
  "format": "",
  "seasonid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • seasonid required string: Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints.

Output

Standings

Schedule

sportsdata_csgo_v3_scores.Standings({
  "format": "",
  "roundid": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • roundid required string: Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints.

Output

Teams

Teams

sportsdata_csgo_v3_scores.Teams({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

  • output array

Venues

Venues

sportsdata_csgo_v3_scores.Venues({
  "format": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.

Output

Definitions

Area

  • Area object
    • AreaId integer
    • CountryCode string
    • Name string

Competition

  • Competition object
    • AreaId integer
    • AreaName string
    • CompetitionId integer
    • Format string
    • Gender string
    • Name string
    • PlayerStatsCoverage boolean
    • Seasons array
    • Type string

CompetitionDetail

  • CompetitionDetail object
    • AreaId integer
    • AreaName string
    • CompetitionId integer
    • CurrentSeason Season
    • Format string
    • Games array
    • Gender string
    • Name string
    • PlayerStatsCoverage boolean
    • Seasons array
    • Teams array
    • Type string

Game

  • Game object
    • BestOf string
    • DateTime string
    • Day string
    • DrawMoneyLine integer
    • GameId integer
    • Group string
    • IsClosed boolean
    • PointSpread number
    • RoundId integer
    • Season integer
    • SeasonType integer
    • Status string
    • TeamAId integer
    • TeamAKey string
    • TeamAMoneyLine integer
    • TeamAName string
    • TeamAPointSpreadPayout integer
    • TeamAScore integer
    • TeamBId integer
    • TeamBKey string
    • TeamBMoneyLine integer
    • TeamBName string
    • TeamBPointSpreadPayout integer
    • TeamBScore integer
    • Updated string
    • UpdatedUtc string
    • VenueId integer
    • VenueType string
    • Week integer
    • Winner string

Membership

  • Membership object
    • Active boolean
    • EndDate string
    • MembershipId integer
    • PlayerId integer
    • PlayerName string
    • StartDate string
    • TeamArea string
    • TeamId integer
    • TeamName string
    • Updated string

Player

  • Player object
    • BirthCity string
    • BirthCountry string
    • BirthDate string
    • CommonName string
    • FirstName string
    • Gender string
    • LastName string
    • MatchName string
    • Nationality string
    • PlayerId integer
    • Position string
    • Updated string

Round

  • Round object
    • CurrentRound boolean
    • CurrentWeek integer
    • EndDate string
    • Name string
    • RoundId integer
    • Season integer
    • SeasonId integer
    • SeasonType integer
    • StartDate string
    • Type string

Season

  • Season object
    • CompetitionId integer
    • CompetitionName string
    • CurrentSeason boolean
    • EndDate string
    • Name string
    • Rounds array
    • Season integer
    • SeasonId integer
    • StartDate string

SeasonTeam

  • SeasonTeam object
    • Active boolean
    • Gender string
    • SeasonId integer
    • SeasonTeamId integer
    • Team Team
    • TeamId integer
    • TeamName string
    • Type string

Standing

  • Standing object
    • Games integer
    • Group string
    • Losses integer
    • Name string
    • Points integer
    • RoundId integer
    • ScoreAgainst integer
    • ScoreDifference integer
    • ScoreFor integer
    • StandingId integer
    • TeamId integer
    • Wins integer
    • [Order] integer

Team

  • Team object
    • Active boolean
    • AreaId integer
    • AreaName string
    • Email string
    • Facebook string
    • Founded integer
    • Gender string
    • Instagram string
    • Name string
    • PrimaryColor string
    • QuaternaryColor string
    • SecondaryColor string
    • ShortName string
    • TeamId integer
    • TertiaryColor string
    • Twitter string
    • Type string
    • Website string
    • YouTube string
    • [Key] string

TeamDetail

  • TeamDetail object
    • Active boolean
    • AreaId integer
    • AreaName string
    • Email string
    • Facebook string
    • Founded integer
    • Gender string
    • Instagram string
    • Name string
    • Players array
    • PrimaryColor string
    • QuaternaryColor string
    • SecondaryColor string
    • ShortName string
    • TeamId integer
    • TertiaryColor string
    • Twitter string
    • Type string
    • Website string
    • YouTube string
    • [Key] string

Venue

  • Venue object
    • Address string
    • Capacity integer
    • City string
    • Country string
    • GeoLat number
    • GeoLong number
    • Name string
    • Nickname1 string
    • Nickname2 string
    • Opened integer
    • VenueId integer
    • Zip string
    • [Open] boolean