@datafire/fantasydata_cbb_v3_scores
v4.0.0
Published
DataFire integration for CBB v3 Scores
Downloads
6
Readme
@datafire/fantasydata_cbb_v3_scores
Client library for CBB v3 Scores
Installation and Usage
npm install --save @datafire/fantasydata_cbb_v3_scores
let fantasydata_cbb_v3_scores = require('@datafire/fantasydata_cbb_v3_scores').create({
apiKeyHeader: "",
apiKeyQuery: ""
});
.then(data => {
console.log(data);
});
Description
Actions
AreGamesInProgress
Returns true if there is at least one game being played at the time of the request or false if there are none.
fantasydata_cbb_v3_scores.AreGamesInProgress({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output
boolean
CurrentSeason
Current Season
fantasydata_cbb_v3_scores.CurrentSeason({
"format": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON.
- format required
Output
- output Season
Schedules
Schedules
fantasydata_cbb_v3_scores.Schedules({
"format": "",
"season": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON. - season required
string
: Year of the season (with optional season type).Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc.
- format required
Output
- output
array
- items Game
GamesByDate
Games by Date
fantasydata_cbb_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).
- format required
Output
- output
array
- items Game
LeagueHierarchy
League Hierarchy
fantasydata_cbb_v3_scores.LeagueHierarchy({
"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 Conference
PlayerDetailsByPlayer
Player Details by Player
fantasydata_cbb_v3_scores.PlayerDetailsByPlayer({
"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
PlayerDetailsByActive
Player Details by Active
fantasydata_cbb_v3_scores.PlayerDetailsByActive({
"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
PlayerDetailsByTeam
Player Details by Team
fantasydata_cbb_v3_scores.PlayerDetailsByTeam({
"format": "",
"team": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON. - team required
string
: The abbreviation of the requested team.
- format required
Output
- output
array
- items Player
TeamGameStatsByDate
Team Game Stats by Date
fantasydata_cbb_v3_scores.TeamGameStatsByDate({
"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 TeamGame
TeamSeasonStats
Team Season Stats
fantasydata_cbb_v3_scores.TeamSeasonStats({
"format": "",
"season": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON. - season required
string
: Year of the season (with optional season type).Examples: 2018, 2018POST, 2019.
- format required
Output
- output
array
- items TeamSeason
TournamentHierarchy
Tournament Hierarchy
fantasydata_cbb_v3_scores.TournamentHierarchy({
"format": "",
"season": ""
}, context)
Input
- input
object
- format required
string
(values: XML, JSON): Desired response format. Valid entries are XML or JSON. - season required
string
: Year of the season (with optional season type).Examples: 2018, 2018POST, 2019.
- format required
Output
- output Tournament
Teams
Teams
fantasydata_cbb_v3_scores.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
Definitions
Conference
- Conference
object
- ConferenceID
integer
- Name
string
- Teams
array
- items Team
- ConferenceID
Game
- Game
object
- AwayTeam
string
- AwayTeamID
integer
- AwayTeamMoneyLine
integer
- AwayTeamPreviousGameID
integer
- AwayTeamPreviousGlobalGameID
integer
- AwayTeamScore
integer
- AwayTeamSeed
integer
- Bracket
string
- DateTime
string
- Day
string
- GameID
integer
- GlobalAwayTeamID
integer
- GlobalGameID
integer
- GlobalHomeTeamID
integer
- HomeTeam
string
- HomeTeamID
integer
- HomeTeamMoneyLine
integer
- HomeTeamPreviousGameID
integer
- HomeTeamPreviousGlobalGameID
integer
- HomeTeamScore
integer
- HomeTeamSeed
integer
- OverUnder
number
- Period
string
- PointSpread
number
- Round
integer
- Season
integer
- SeasonType
integer
- Status
string
- TimeRemainingMinutes
integer
- TimeRemainingSeconds
integer
- TournamentDisplayOrder
integer
- TournamentDisplayOrderForHomeTeam
string
- TournamentID
integer
- Updated
string
- AwayTeam
Player
- Player
object
- BirthCity
string
- BirthState
string
- Class
string
- FantasyAlarmPlayerID
integer
- FirstName
string
- GlobalTeamID
integer
- Height
integer
- HighSchool
string
- Jersey
integer
- LastName
string
- PlayerID
integer
- Position
string
- RotoWirePlayerID
integer
- RotoworldPlayerID
integer
- SportRadarPlayerID
string
- Team
string
- TeamID
integer
- Weight
integer
- BirthCity
Season
- Season
object
- Description
string
- EndYear
integer
- PostSeasonStartDate
string
- RegularSeasonStartDate
string
- Season
integer
- StartYear
integer
- Description
Team
- Team
object
- Active
boolean
- ApRank
integer
- Conference
string
- ConferenceID
integer
- ConferenceLosses
integer
- ConferenceWins
integer
- GlobalTeamID
integer
- Losses
integer
- Name
string
- School
string
- TeamID
integer
- TeamLogoUrl
string
- Wins
integer
- [Key]
string
- Active
TeamGame
- TeamGame
object
- Assists
integer
- AssistsPercentage
number
- BlockedShots
integer
- BlocksPercentage
number
- ConferenceLosses
integer
- ConferenceWins
integer
- DateTime
string
- Day
string
- DefensiveRebounds
integer
- DefensiveReboundsPercentage
number
- EffectiveFieldGoalsPercentage
number
- FantasyPoints
number
- FantasyPointsDraftKings
number
- FantasyPointsFanDuel
number
- FantasyPointsYahoo
number
- FieldGoalsAttempted
integer
- FieldGoalsMade
integer
- FieldGoalsPercentage
number
- FreeThrowsAttempted
integer
- FreeThrowsMade
integer
- FreeThrowsPercentage
number
- GameID
integer
- Games
integer
- GlobalGameID
integer
- GlobalOpponentID
integer
- GlobalTeamID
integer
- HomeOrAway
string
- IsGameOver
boolean
- Losses
integer
- Minutes
integer
- Name
string
- OffensiveRebounds
integer
- OffensiveReboundsPercentage
number
- Opponent
string
- OpponentID
integer
- PersonalFouls
integer
- PlayerEfficiencyRating
number
- Points
integer
- Possessions
number
- Rebounds
integer
- Season
integer
- SeasonType
integer
- StatID
integer
- Steals
integer
- StealsPercentage
number
- Team
string
- TeamID
integer
- ThreePointersAttempted
integer
- ThreePointersMade
integer
- ThreePointersPercentage
number
- TotalReboundsPercentage
number
- TrueShootingAttempts
number
- TrueShootingPercentage
number
- TurnOversPercentage
number
- Turnovers
integer
- TwoPointersAttempted
integer
- TwoPointersMade
integer
- TwoPointersPercentage
number
- Updated
string
- UsageRatePercentage
number
- Wins
integer
- Assists
TeamSeason
- TeamSeason
object
- Assists
integer
- AssistsPercentage
number
- BlockedShots
integer
- BlocksPercentage
number
- ConferenceLosses
integer
- ConferenceWins
integer
- DefensiveRebounds
integer
- DefensiveReboundsPercentage
number
- EffectiveFieldGoalsPercentage
number
- FantasyPoints
number
- FantasyPointsDraftKings
number
- FantasyPointsFanDuel
number
- FantasyPointsYahoo
number
- FieldGoalsAttempted
integer
- FieldGoalsMade
integer
- FieldGoalsPercentage
number
- FreeThrowsAttempted
integer
- FreeThrowsMade
integer
- FreeThrowsPercentage
number
- Games
integer
- GlobalTeamID
integer
- Losses
integer
- Minutes
integer
- Name
string
- OffensiveRebounds
integer
- OffensiveReboundsPercentage
number
- PersonalFouls
integer
- PlayerEfficiencyRating
number
- Points
integer
- Possessions
number
- Rebounds
integer
- Season
integer
- SeasonType
integer
- StatID
integer
- Steals
integer
- StealsPercentage
number
- Team
string
- TeamID
integer
- ThreePointersAttempted
integer
- ThreePointersMade
integer
- ThreePointersPercentage
number
- TotalReboundsPercentage
number
- TrueShootingAttempts
number
- TrueShootingPercentage
number
- TurnOversPercentage
number
- Turnovers
integer
- TwoPointersAttempted
integer
- TwoPointersMade
integer
- TwoPointersPercentage
number
- Updated
string
- UsageRatePercentage
number
- Wins
integer
- Assists
Tournament
- Tournament
object
- Games
array
- items Game
- Location
string
- Name
string
- Season
integer
- TournamentID
integer
- Games