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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/sportsdata_soccer_v3_projections

v3.0.0

Published

DataFire integration for Soccer v3 Projections

Readme

@datafire/sportsdata_soccer_v3_projections

Client library for Soccer v3 Projections

Installation and Usage

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

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

Description

Actions

DfsSlatesByDate

Dfs Slates By Date

sportsdata_soccer_v3_projections.DfsSlatesByDate({
  "format": "",
  "date": ""
}, context)

Input

  • input object
    • format required string (values: json, xml): Desired response format. Valid entries are XML or JSON.
    • date required string: The date of the game(s).

Output

ProjectedPlayerGameStatsByCompetitionWDfsSalaries

Projected Player Game Stats by Competition (w/ DFS Salaries)

sportsdata_soccer_v3_projections.ProjectedPlayerGameStatsByCompetitionWDfsSalaries({
  "format": "",
  "competition": "",
  "date": ""
}, context)

Input

  • input object
    • format required string (values: xml, json): Desired response format. Valid entries are XML or JSON.
    • competition required string: An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc.
    • date required string: The date of the game(s).

Output

ProjectedPlayerGameStatsByDateWDfsSalaries

Projected Player Game Stats by Date (w/ DFS Salaries)

sportsdata_soccer_v3_projections.ProjectedPlayerGameStatsByDateWDfsSalaries({
  "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).

Output

ProjectedPlayerGameStatsByPlayerWDfsSalaries

Projected Player Game Stats by Player (w/ DFS Salaries)

sportsdata_soccer_v3_projections.ProjectedPlayerGameStatsByPlayerWDfsSalaries({
  "format": "",
  "date": "",
  "playerid": ""
}, 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).
    • playerid required string: Unique FantasyData Player ID.

Output

UpcomingDfsSlatesByCompetition

Upcoming Dfs Slates By Competition

sportsdata_soccer_v3_projections.UpcomingDfsSlatesByCompetition({
  "format": "",
  "competitionId": ""
}, context)

Input

  • input object
    • format required string (values: json, xml): Desired response format. Valid entries are XML or JSON.
    • competitionId required string: The Competition Id.

Output

Definitions

DfsSlate

  • DfsSlate object
    • CompetitionId integer
    • DfsSlateGames array
    • DfsSlatePlayers array
    • IsMultiDaySlate boolean
    • NumberOfGames integer
    • Operator string
    • OperatorDay string
    • OperatorGameType string
    • OperatorName string
    • OperatorSlateID integer
    • OperatorStartTime string
    • RemovedByOperator boolean
    • SalaryCap integer
    • SlateID integer
    • SlateRosterSlots array
      • items string

DfsSlateGame

  • DfsSlateGame object
    • Game Game
    • GameID integer
    • OperatorGameID integer
    • RemovedByOperator boolean
    • SlateGameID integer
    • SlateID integer

DfsSlatePlayer

  • DfsSlatePlayer object
    • OperatorPlayerID string
    • OperatorPlayerName string
    • OperatorPosition string
    • OperatorRosterSlots array
      • items string
    • OperatorSalary integer
    • OperatorSlatePlayerID string
    • PlayerGameProjectionStatID integer
    • PlayerID integer
    • RemovedByOperator boolean
    • SlateGameID integer
    • SlateID integer
    • SlatePlayerID integer
    • Team string
    • TeamID integer

Game

  • Game object
    • Attendance integer
    • AwayTeamCountryCode string
    • AwayTeamFormation string
    • AwayTeamId integer
    • AwayTeamKey string
    • AwayTeamMoneyLine integer
    • AwayTeamName string
    • AwayTeamPointSpreadPayout integer
    • AwayTeamScore integer
    • AwayTeamScoreExtraTime integer
    • AwayTeamScorePenalty integer
    • AwayTeamScorePeriod1 integer
    • AwayTeamScorePeriod2 integer
    • Clock integer
    • ClockDisplay string
    • ClockExtra integer
    • DateTime string
    • Day string
    • DrawMoneyLine integer
    • GameId integer
    • GlobalAwayTeamId integer
    • GlobalGameId integer
    • GlobalHomeTeamId integer
    • Group string
    • HomeTeamCountryCode string
    • HomeTeamFormation string
    • HomeTeamId integer
    • HomeTeamKey string
    • HomeTeamMoneyLine integer
    • HomeTeamName string
    • HomeTeamPointSpreadPayout integer
    • HomeTeamScore integer
    • HomeTeamScoreExtraTime integer
    • HomeTeamScorePenalty integer
    • HomeTeamScorePeriod1 integer
    • HomeTeamScorePeriod2 integer
    • IsClosed boolean
    • OverPayout integer
    • OverUnder number
    • Period string
    • PlayoffAggregateScore PlayoffAggregateScore
    • PointSpread number
    • RoundId integer
    • Season integer
    • SeasonType integer
    • Status string
    • UnderPayout integer
    • Updated string
    • UpdatedUtc string
    • VenueId integer
    • VenueType string
    • Week integer
    • Winner string

PlayerGameProjection

  • PlayerGameProjection object
    • Assists number
    • BlockedShots number
    • Captain boolean
    • CornersWon number
    • Crosses number
    • DateTime string
    • Day string
    • DefenderCleanSheets number
    • DraftKingsPosition string
    • DraftKingsSalary integer
    • FanDuelPosition string
    • FanDuelSalary integer
    • FantasyPoints number
    • FantasyPointsDraftKings number
    • FantasyPointsFanDuel number
    • FantasyPointsMondogoal number
    • FantasyPointsYahoo number
    • Fouled number
    • Fouls number
    • GameId integer
    • Games integer
    • GlobalGameId integer
    • GlobalOpponentId integer
    • GlobalTeamId integer
    • GoalkeeperCleanSheets number
    • GoalkeeperGoalsAgainst number
    • GoalkeeperSaves number
    • GoalkeeperSingleGoalAgainst number
    • GoalkeeperWins number
    • Goals number
    • HomeOrAway string
    • InjuryBodyPart string
    • InjuryNotes string
    • InjuryStartDate string
    • InjuryStatus string
    • Interceptions number
    • IsGameOver boolean
    • Jersey integer
    • LastManTackle number
    • Minutes number
    • MondogoalPosition string
    • MondogoalSalary integer
    • Name string
    • Offsides number
    • Opponent string
    • OpponentId integer
    • OpponentScore number
    • OwnGoals number
    • Passes number
    • PassesCompleted number
    • PenaltiesConceded number
    • PenaltiesWon number
    • PenaltyKickGoals number
    • PenaltyKickMisses number
    • PenaltyKickSaves number
    • PlayerId integer
    • Position string
    • PositionCategory string
    • RedCards number
    • RoundId integer
    • Score number
    • Season integer
    • SeasonType integer
    • ShortName string
    • Shots number
    • ShotsOnGoal number
    • Started integer
    • StatId integer
    • Suspension boolean
    • SuspensionReason string
    • TacklesWon number
    • Team string
    • TeamId integer
    • Touches number
    • Updated string
    • UpdatedUtc string
    • YahooPosition string
    • YahooSalary integer
    • YellowCards number
    • YellowRedCards number

PlayoffAggregateScore

  • PlayoffAggregateScore object
    • Created string
    • TeamA_AggregateScore integer
    • TeamA_Id integer
    • TeamB_AggregateScore integer
    • TeamB_Id integer
    • Updated string
    • WinningTeamId integer