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/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.

Output

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.

Output

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.

Output

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.

Output

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.

Output

  • output array

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.

Output

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

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

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

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

RaceResult

Series

  • Series object
    • Name string
    • SeriesID integer