@datafire/fantasydata_nascar_v2
v4.0.0
Published
DataFire integration for NASCAR v2
Downloads
4
Readme
@datafire/fantasydata_nascar_v2
Client library for NASCAR v2
Installation and Usage
npm install --save @datafire/fantasydata_nascar_v2
let fantasydata_nascar_v2 = require('@datafire/fantasydata_nascar_v2').create({
apiKeyHeader: "",
apiKeyQuery: ""
});
.then(data => {
console.log(data);
});
Description
Actions
DriverRaceProjectionsEntryList
Driver Race Projections (Entry List)
fantasydata_nascar_v2.DriverRaceProjectionsEntryList({
"format": "",
"raceid": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON. - raceid required
string
: Unique FantasyData Race ID.
- format required
Output
- output
array
- items DriverRaceProjection
DriverDetails
Driver Details
fantasydata_nascar_v2.DriverDetails({
"format": "",
"driverid": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON. - driverid required
string
: Unique FantasyData Driver ID.
- format required
Output
- output Driver
Drivers
Drivers
fantasydata_nascar_v2.Drivers({
"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 Driver
RaceResults
Race Results
fantasydata_nascar_v2.RaceResults({
"format": "",
"raceid": ""
}, context)
Input
- input
object
- format required
string
(values: xml, json): Desired response format. Valid entries are XML or JSON. - raceid required
string
: Unique FantasyData Race ID.
- format required
Output
- output RaceResult
RacesSchedule
Races / Schedule
fantasydata_nascar_v2.RacesSchedule({
"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.
- format required
Output
- output
array
- items Race
Series
Series
fantasydata_nascar_v2.Series({
"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 Series
Definitions
Driver
- Driver
object
- BirthDate
string
- BirthPlace
string
- Chassis
string
- Created
string
- CrewChief
string
- DriverID
integer
- Engine
string
- FirstName
string
- Gender
string
- Height
integer
- LastName
string
- Manufacturer
string
- Number
integer
- PhotoUrl
string
- Sponsors
string
- Team
string
- Updated
string
- Weight
integer
- BirthDate
DriverRace
- DriverRace
object
- Bonus
number
- Created
string
- DateTime
string
- Day
string
- DraftKingsSalary
integer
- DriverID
integer
- FantasyPoints
number
- FantasyPointsDraftKings
number
- FastestLaps
number
- FinalPosition
number
- Laps
number
- LapsLed
number
- Manufacturer
string
- Name
string
- Number
integer
- Penalty
number
- Points
number
- PoleFinalPosition
number
- Poles
number
- PositionDifferential
number
- QualifyingSpeed
number
- RaceID
integer
- Season
integer
- StartPosition
number
- StatID
integer
- Updated
string
- Wins
number
- Bonus
DriverRaceProjection
- DriverRaceProjection
object
- Bonus
number
- Created
string
- DateTime
string
- Day
string
- DraftKingsSalary
integer
- DriverID
integer
- FantasyPoints
number
- FantasyPointsDraftKings
number
- FastestLaps
number
- FinalPosition
number
- Laps
number
- LapsLed
number
- Manufacturer
string
- Name
string
- Number
integer
- Penalty
number
- Points
number
- PoleFinalPosition
number
- Poles
number
- PositionDifferential
number
- QualifyingSpeed
number
- RaceID
integer
- Season
integer
- StartPosition
number
- StatID
integer
- Updated
string
- Wins
number
- Bonus
Race
- Race
object
- Broadcast
string
- Created
string
- DateTime
string
- Day
string
- IsInProgress
boolean
- IsOver
boolean
- Name
string
- PoleWinnerID
integer
- RaceID
integer
- RescheduledDateTime
string
- RescheduledDay
string
- Season
integer
- SeriesID
integer
- SeriesName
string
- Track
string
- Updated
string
- WinnerID
integer
- Broadcast
RaceResult
- RaceResult
object
- DriverRaces
array
- items DriverRace
- Race Race
- DriverRaces
Series
- Series
object
- Name
string
- SeriesID
integer
- Name