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

v4.0.0

Published

DataFire integration for Soccer v3 Projections

Downloads

19

Readme

@datafire/fantasydata_soccer_v3_projections

Client library for Soccer v3 Projections

Installation and Usage

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

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

Description

Actions

ProjectedPlayerGameStatsByCompetitionWDfsSalaries

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

fantasydata_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)

fantasydata_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)

fantasydata_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

Definitions

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