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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/sportsdata_nfl_v3_play_by_play

v3.0.0

Published

DataFire integration for NFL v3 Play-by-Play

Readme

@datafire/sportsdata_nfl_v3_play_by_play

Client library for NFL v3 Play-by-Play

Installation and Usage

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

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

Description

NFL play-by-play API.

Actions

PlayByPlay

Play By Play

sportsdata_nfl_v3_play_by_play.PlayByPlay({
  "format": "",
  "season": "",
  "week": "",
  "hometeam": ""
}, 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 and the season type. If no season type is provided, then the default is regular season.
    • week required string: Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.
    • hometeam required string: Abbreviation of the home team. Example: WAS.

Output

PlayByPlayDelta

Play By Play Delta

sportsdata_nfl_v3_play_by_play.PlayByPlayDelta({
  "format": "",
  "season": "",
  "week": "",
  "minutes": ""
}, 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 and the season type. If no season type is provided, then the default is regular season.
    • week required string: Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.
    • minutes required string: Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are:

Output

PlayByPlaySimulation

Gets simulated live play-by-play of NFL games, covering the Conference Championship games on January 21, 2018.

sportsdata_nfl_v3_play_by_play.PlayByPlaySimulation({
  "format": "",
  "numberofplays": ""
}, context)

Input

  • input object
    • format required string (values: XML, JSON): Desired response format. Valid entries are XML or JSON.
    • numberofplays required string: The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc.

Output

Definitions

Play

  • Play object
    • Created string
    • Description string
    • Distance integer
    • Down integer
    • IsScoringPlay boolean
    • Opponent string
    • PlayID integer
    • PlayStats array
    • PlayTime string
    • QuarterID integer
    • QuarterName string
    • ScoringPlay ScoringPlay
    • Sequence integer
    • Team string
    • TimeRemainingMinutes integer
    • TimeRemainingSeconds integer
    • Type string
    • Updated string
    • YardLine integer
    • YardLineTerritory string
    • YardsGained integer
    • YardsToEndZone integer

PlayByPlay

PlayStat

  • PlayStat object
    • AssistedTackles integer
    • BlockedKickReturnTouchdowns integer
    • BlockedKickReturnYards integer
    • BlockedKickReturns integer
    • BlockedKicks integer
    • Created string
    • Direction string
    • ExtraPointsAttempted integer
    • ExtraPointsHadBlocked integer
    • ExtraPointsMade integer
    • FieldGoalReturnTouchdowns integer
    • FieldGoalReturnYards integer
    • FieldGoalReturns integer
    • FieldGoalsAttempted integer
    • FieldGoalsHadBlocked integer
    • FieldGoalsMade integer
    • FieldGoalsYards integer
    • FumbleReturnTouchdowns integer
    • FumbleReturnYards integer
    • Fumbles integer
    • FumblesForced integer
    • FumblesLost integer
    • FumblesRecovered integer
    • HomeOrAway string
    • InterceptionReturnTouchdowns integer
    • InterceptionReturnYards integer
    • Interceptions integer
    • KickReturnTouchdowns integer
    • KickReturnYards integer
    • KickReturns integer
    • KickoffTouchbacks integer
    • KickoffYards integer
    • Kickoffs integer
    • Name string
    • Opponent string
    • PassesDefended integer
    • PassingAttempts integer
    • PassingCompletions integer
    • PassingInterceptions integer
    • PassingSackYards integer
    • PassingSacks integer
    • PassingTouchdowns integer
    • PassingYards integer
    • Penalties integer
    • PenaltyYards integer
    • PlayID integer
    • PlayStatID integer
    • PlayerID integer
    • PuntReturnTouchdowns integer
    • PuntReturnYards integer
    • PuntReturns integer
    • PuntTouchbacks integer
    • PuntYards integer
    • Punts integer
    • PuntsHadBlocked integer
    • ReceivingTargets integer
    • ReceivingTouchdowns integer
    • ReceivingYards integer
    • Receptions integer
    • RushingAttempts integer
    • RushingTouchdowns integer
    • RushingYards integer
    • SackYards number
    • Sacks number
    • Safeties integer
    • Sequence integer
    • SoloTackles integer
    • TacklesForLoss integer
    • Team string
    • TwoPointConversionAttempts integer
    • TwoPointConversionPasses integer
    • TwoPointConversionReceptions integer
    • TwoPointConversionReturns integer
    • TwoPointConversionRuns integer
    • Updated string

Quarter

  • Quarter object
    • AwayTeamScore integer
    • Created string
    • Description string
    • HomeTeamScore integer
    • Name string
    • Number integer
    • QuarterID integer
    • ScoreID integer
    • Updated string

Score

  • Score object
    • AwayRotationNumber integer
    • AwayScore integer
    • AwayScoreOvertime integer
    • AwayScoreQuarter1 integer
    • AwayScoreQuarter2 integer
    • AwayScoreQuarter3 integer
    • AwayScoreQuarter4 integer
    • AwayTeam string
    • AwayTeamID integer
    • AwayTeamMoneyLine integer
    • Canceled boolean
    • Channel string
    • Closed boolean
    • Date string
    • DateTime string
    • Day string
    • Distance string
    • Down integer
    • DownAndDistance string
    • ForecastDescription string
    • ForecastTempHigh integer
    • ForecastTempLow integer
    • ForecastWindChill integer
    • ForecastWindSpeed integer
    • GameEndDateTime string
    • GameKey string
    • GeoLat number
    • GeoLong number
    • GlobalAwayTeamID integer
    • GlobalGameID integer
    • GlobalHomeTeamID integer
    • Has1stQuarterStarted boolean
    • Has2ndQuarterStarted boolean
    • Has3rdQuarterStarted boolean
    • Has4thQuarterStarted boolean
    • HasStarted boolean
    • HomeRotationNumber integer
    • HomeScore integer
    • HomeScoreOvertime integer
    • HomeScoreQuarter1 integer
    • HomeScoreQuarter2 integer
    • HomeScoreQuarter3 integer
    • HomeScoreQuarter4 integer
    • HomeTeam string
    • HomeTeamID integer
    • HomeTeamMoneyLine integer
    • IsInProgress boolean
    • IsOver boolean
    • IsOvertime boolean
    • LastPlay string
    • LastUpdated string
    • NeutralVenue boolean
    • OverUnder number
    • PointSpread number
    • PointSpreadAwayTeamMoneyLine integer
    • PointSpreadHomeTeamMoneyLine integer
    • Possession string
    • Quarter string
    • QuarterDescription string
    • RedZone string
    • RefereeID integer
    • ScoreID integer
    • Season integer
    • SeasonType integer
    • SportRadarGameID string
    • StadiumDetails Stadium
    • StadiumID integer
    • Status string
    • TimeRemaining string
    • Week integer
    • YardLine integer
    • YardLineTerritory string

ScoringPlay

  • ScoringPlay object
    • AwayScore integer
    • AwayTeam string
    • Date string
    • GameKey string
    • HomeScore integer
    • HomeTeam string
    • PlayDescription string
    • Quarter string
    • ScoreID integer
    • ScoringPlayID integer
    • Season integer
    • SeasonType integer
    • Sequence integer
    • Team string
    • TimeRemaining string
    • Week integer

Stadium

  • Stadium object
    • Capacity integer
    • City string
    • Country string
    • GeoLat number
    • GeoLong number
    • Name string
    • PlayingSurface string
    • StadiumID integer
    • State string
    • Type string