@datafire/sportsdata_csgo_v3_stats
v3.0.0
Published
DataFire integration for CS:GO v3 Stats
Downloads
2
Readme
@datafire/sportsdata_csgo_v3_stats
Client library for CS:GO v3 Stats
Installation and Usage
npm install --save @datafire/sportsdata_csgo_v3_stats
let sportsdata_csgo_v3_stats = require('@datafire/sportsdata_csgo_v3_stats').create({
apiKeyHeader: "",
apiKeyQuery: ""
});
.then(data => {
console.log(data);
});
Description
CS:GO v3 Stats
Actions
MembershipsActive
Memberships (Active)
sportsdata_csgo_v3_stats.MembershipsActive({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Membership
AreasCountries
Areas (Countries)
sportsdata_csgo_v3_stats.AreasCountries({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Area
BoxScore
Box Scores by Date
sportsdata_csgo_v3_stats.BoxScore({
"format": "",
"gameid": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON. - gameid required
string
: Unique GameId for the desired box scores. Examples: 100000091
- format required
Output
- output
array
- items BoxScore
BoxScoresByDate
Box Scores by Date
sportsdata_csgo_v3_stats.BoxScoresByDate({
"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).
- format required
Output
- output
array
- items BoxScore
CompetitionFixturesLeagueDetails
Competition Fixtures (League Details)
sportsdata_csgo_v3_stats.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.
- format required
Output
- output CompetitionDetail
CompetitionsLeagues
Competitions (Leagues)
sportsdata_csgo_v3_stats.CompetitionsLeagues({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Competition
GamesByDate
Games by Date
sportsdata_csgo_v3_stats.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).
- format required
Output
- output
array
- items Game
MembershipsHistorical
Memberships (Historical)
sportsdata_csgo_v3_stats.MembershipsHistorical({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Membership
MembershipsByTeamHistorical
Memberships by Team (Historical)
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items Membership
MembershipsByTeamActive
Memberships by Team (Active)
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items Membership
Player
Player
sportsdata_csgo_v3_stats.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.
- format required
Output
- output Player
Players
Players
sportsdata_csgo_v3_stats.Players({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Player
PlayersByTeam
Players by Team
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items Player
Schedule
Schedule
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items Game
SeasonTeams
Season Teams
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items SeasonTeam
Standings
Schedule
sportsdata_csgo_v3_stats.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.
- format required
Output
- output
array
- items Standing
Teams
Teams
sportsdata_csgo_v3_stats.Teams({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Team
Venues
Venues
sportsdata_csgo_v3_stats.Venues({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
array
- items Venue
Definitions
Area
- Area
object
- AreaId
integer
- CountryCode
string
- Name
string
- AreaId
BoxScore
Competition
- Competition
object
- AreaId
integer
- AreaName
string
- CompetitionId
integer
- Format
string
- Gender
string
- Name
string
- PlayerStatsCoverage
boolean
- Seasons
array
- items Season
- Type
string
- AreaId
CompetitionDetail
- CompetitionDetail
object
- AreaId
integer
- AreaName
string
- CompetitionId
integer
- CurrentSeason Season
- Format
string
- Games
array
- items Game
- Gender
string
- Name
string
- PlayerStatsCoverage
boolean
- Seasons
array
- items Season
- Teams
array
- items TeamDetail
- Type
string
- AreaId
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
- BestOf
Leaderboard
- Leaderboard
object
- Aces
number
- Assists
number
- AverageDamagePerRound
number
- Clutch1v2s
number
- Clutch1v3s
number
- Clutch1v4s
number
- Clutch1v5s
number
- DateTime
string
- Day
string
- Deaths
number
- EntryKills
number
- FantasyPoints
number
- GameId
integer
- Games
integer
- Headshots
number
- IsClosed
boolean
- Kast
number
- Kills
number
- Maps
number
- MatchName
string
- Name
string
- Opponent
string
- OpponentId
integer
- PlayerId
integer
- QuadKills
number
- Rating
number
- Team
string
- TeamId
integer
- Updated
string
- UpdatedUtc
string
- Aces
Map
- Map
object
- CurrentRound
integer
- Leaderboards
array
- items Leaderboard
- Name
string
- Number
integer
- Status
string
- TeamAScore
integer
- TeamBScore
integer
- CurrentRound
Membership
- Membership
object
- Active
boolean
- EndDate
string
- MembershipId
integer
- PlayerId
integer
- PlayerName
string
- StartDate
string
- TeamArea
string
- TeamId
integer
- TeamName
string
- Updated
string
- Active
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
- BirthCity
Round
- Round
object
- CurrentRound
boolean
- CurrentWeek
integer
- EndDate
string
- Name
string
- RoundId
integer
- Season
integer
- SeasonId
integer
- SeasonType
integer
- StartDate
string
- Type
string
- CurrentRound
Season
- Season
object
- CompetitionId
integer
- CompetitionName
string
- CurrentSeason
boolean
- EndDate
string
- Name
string
- Rounds
array
- items Round
- Season
integer
- SeasonId
integer
- StartDate
string
- CompetitionId
SeasonTeam
- SeasonTeam
object
- Active
boolean
- Gender
string
- SeasonId
integer
- SeasonTeamId
integer
- Team Team
- TeamId
integer
- TeamName
string
- Type
string
- Active
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
- Games
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
- Active
TeamDetail
- TeamDetail
object
- Active
boolean
- AreaId
integer
- AreaName
string
- Email
string
- Facebook
string
- Founded
integer
- Gender
string
- Instagram
string
- Name
string
- Players
array
- items Player
- PrimaryColor
string
- QuaternaryColor
string
- SecondaryColor
string
- ShortName
string
- TeamId
integer
- TertiaryColor
string
- Twitter
string
- Type
string
- Website
string
- YouTube
string
- [Key]
string
- Active
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
- Address