UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 198 kB
{"openapi":"3.0.0","servers":[{"url":"http://azure-api.sportsdata.io/v3/nfl/stats"},{"url":"https://azure-api.sportsdata.io/v3/nfl/stats"}],"info":{"contact":{"x-twitter":"nfldata"},"description":"NFL rosters, player stats, team stats, and fantasy stats API.","title":"NFL v3 Stats","version":"1.0","x-apisguru-categories":["entertainment"],"x-logo":{"url":"https://twitter.com/nfldata/profile_image?size=original"},"x-origin":[{"format":"swagger","url":"https://fantasydata.com/downloads/swagger/nfl-v3-stats.json","version":"2.0"}],"x-providerName":"sportsdata.io","x-serviceName":"nfl-v3-stats"},"security":[{"apiKeyHeader":[]},{"apiKeyQuery":[]}],"tags":[],"paths":{"/{format}/ActiveBoxScores":{"get":{"description":"This method returns box scores for all games that are either in-progress or have been updated within the last 30 minutes.","operationId":"LegacyBoxScoresActive","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScore"},"type":"array"}}},"description":""}},"summary":"Legacy Box Scores Active"}},"/{format}/AllTeams":{"get":{"description":"Gets all teams, including pro bowl teams.","operationId":"TeamsAll","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Team"},"type":"array"}}},"description":""}},"summary":"Teams (All)"}},"/{format}/AreAnyGamesInProgress":{"get":{"description":"Returns <code>true</code> if there is at least one game being played at the time of the request or <code>false</code> if there are none.","operationId":"AreGamesInProgress","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"nullable":false,"type":"boolean"}}},"description":""}},"summary":"Are Games In Progress"}},"/{format}/BoxScore/{season}/{week}/{hometeam}":{"get":{"operationId":"LegacyBoxScore","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the home team. Example: <code>WAS</code>.","in":"path","name":"hometeam","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxScore"}}},"description":""}},"summary":"Legacy Box Score"}},"/{format}/BoxScoreByScoreIDV3/{scoreid}":{"get":{"operationId":"BoxScoreByScoreidV","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"The ScoreID of the game. Possible values include: <code>16247</code>, <code>16245</code>, etc.","in":"path","name":"scoreid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxScoreV3"}}},"description":""}},"summary":"Box Score by ScoreID V3"}},"/{format}/BoxScoreV3/{season}/{week}/{hometeam}":{"get":{"operationId":"BoxScoreV","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of a team playing in this game. Example: <code>WAS</code>.","in":"path","name":"hometeam","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxScoreV3"}}},"description":""}},"summary":"Box Score V3"}},"/{format}/BoxScores/{season}/{week}":{"get":{"description":"This method returns all box scores for a given season and week.","operationId":"LegacyBoxScores","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScore"},"type":"array"}}},"description":""}},"summary":"Legacy Box Scores"}},"/{format}/BoxScoresDelta/{season}/{week}/{minutes}":{"get":{"description":"This method returns all box scores for a given season and week, but only returns player stats that have changed in the last X minutes.","operationId":"LegacyBoxScoresDelta","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"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:<br>\n <code>1</code> or <code>2</code>.\n ","in":"path","name":"minutes","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScore"},"type":"array"}}},"description":""}},"summary":"Legacy Box Scores Delta"}},"/{format}/BoxScoresDeltaV3/{season}/{week}/{playerstoinclude}/{minutes}":{"get":{"description":"This method returns all box scores for a given season and week, but only returns player stats that have changed in the last X minutes. You can also filter by type of player stats to include, such as traditional fantasy players, IDP players or all players.","operationId":"BoxScoresDeltaV","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"The subcategory of players to include in the returned PlayerGame records. Possible values include:<br><br>\n<code>all</code> Returns all players<br>\n<code>fantasy</code> Returns traditional fantasy players (QB, RB, WR, TE, K, DST)<br>\n<code>idp</code> Returns traditional fantasy players and IDP players.","in":"path","name":"playerstoinclude","required":true,"schema":{"default":"all","enum":["all","fantasy","idp"],"type":"string"}},{"description":"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:<br><code>1</code>,\n <code>2</code>, etc.\n ","in":"path","name":"minutes","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScoreV3"},"type":"array"}}},"description":""}},"summary":"Box Scores Delta V3"}},"/{format}/Byes/{season}":{"get":{"description":"Get bye weeks for the teams during a specified NFL season. ","operationId":"ByeWeeks","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Bye"},"type":"array"}}},"description":""}},"summary":"Bye Weeks"}},"/{format}/CurrentSeason":{"get":{"description":"Year of the current NFL season. This value changes at the start of the new NFL league year. The earliest season for Fantasy data is 2001. The earliest season for Team data is 1985. The earliest season for Fantasy data is 2001. The earliest season for Team data is 1985.","operationId":"SeasonCurrent","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"nullable":true,"type":"integer"}}},"description":""}},"summary":"Season Current"}},"/{format}/CurrentWeek":{"get":{"description":"Number of the current week of the NFL season. This value usually changes on Tuesday nights or Wednesday mornings at midnight ET.","operationId":"WeekCurrent","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"nullable":true,"type":"integer"}}},"description":""}},"summary":"Week Current"}},"/{format}/DailyFantasyPlayers/{date}":{"get":{"operationId":"DailyFantasyPlayers","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n The date of the contest for which you're pulling players\n <code>2014-SEP-21</code>,\n <code>2014-NOV-15</code>, etc\n ","in":"path","name":"date","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DailyFantasyPlayer"},"type":"array"}}},"description":""}},"summary":"Daily Fantasy Players"}},"/{format}/DailyFantasyPoints/{date}":{"get":{"operationId":"DailyFantasyScoring","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"The date of the contest for which you're pulling players\n <code>2014-SEP-21</code>,\n <code>2014-NOV-15</code>, etc","in":"path","name":"date","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DailyFantasyScoring"},"type":"array"}}},"description":""}},"summary":"Daily Fantasy Scoring"}},"/{format}/DfsSlatesByDate/{date}":{"get":{"operationId":"DfsSlatesByDate","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"The date of the slates.\n<br>Examples: <code>2017-SEP-25</code>, <code>2017-10-31</code>.","in":"path","name":"date","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DfsSlate"},"type":"array"}}},"description":""}},"summary":"DFS Slates by Date"}},"/{format}/DfsSlatesByWeek/{season}/{week}":{"get":{"operationId":"DfsSlatesByWeek","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DfsSlate"},"type":"array"}}},"description":""}},"summary":"DFS Slates by Week"}},"/{format}/FantasyDefenseByGame/{season}/{week}":{"get":{"operationId":"FantasyDefenseGameStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FantasyDefenseGame"},"type":"array"}}},"description":""}},"summary":"Fantasy Defense Game Stats"}},"/{format}/FantasyDefenseByGameByTeam/{season}/{week}/{team}":{"get":{"operationId":"FantasyDefenseGameStatsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FantasyDefenseGame"}}},"description":""}},"summary":"Fantasy Defense Game Stats by Team"}},"/{format}/FantasyDefenseBySeason/{season}":{"get":{"operationId":"FantasyDefenseSeasonStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FantasyDefenseSeason"},"type":"array"}}},"description":""}},"summary":"Fantasy Defense Season Stats"}},"/{format}/FantasyDefenseBySeasonByTeam/{season}/{team}":{"get":{"operationId":"FantasyDefenseSeasonStatsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FantasyDefenseSeason"}}},"description":""}},"summary":"Fantasy Defense Season Stats by Team"}},"/{format}/FantasyPlayers":{"get":{"description":"This method returns a comprehensive list of draftable fantasy football players, including QB, RB, WR, TE, K and DEF. Players are sorted by ADP (AverageDraftPosition).","operationId":"FantasyPlayersWithAdp","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FantasyPlayer"},"type":"array"}}},"description":""}},"summary":"Fantasy Players with ADP"}},"/{format}/FantasyPlayersIDP":{"get":{"description":"This method returns the top 300+ IDP Fantasy Players for the current or upcoming season, ordered by AverageDraftPositionIDP.","operationId":"IdpFantasyPlayersWithAdp","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FantasyPlayer"},"type":"array"}}},"description":""}},"summary":"IDP Fantasy Players with ADP"}},"/{format}/FinalBoxScores":{"get":{"operationId":"LegacyBoxScoresFinal","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScore"},"type":"array"}}},"description":""}},"summary":"Legacy Box Scores Final"}},"/{format}/FreeAgents":{"get":{"operationId":"PlayerDetailsByFreeAgents","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Player"},"type":"array"}}},"description":""}},"summary":"Player Details by Free Agents"}},"/{format}/GameLeagueLeaders/{season}/{week}/{position}/{column}":{"get":{"operationId":"LeagueLeadersByWeek","parameters":[{"description":"\n Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.\n ","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Player’s position that you would like to filter by.","in":"path","name":"position","required":true,"schema":{"default":"ALL","enum":["ALL","OFFENSE","QB","RB","WR","TE","DEFENSE","DL","LB","DB","K"],"type":"string"}},{"description":"Response member you would like results sorted by.","in":"path","name":"column","required":true,"schema":{"enum":["FantasyPoints","PassingYards","RushingYards","Receptions","Sacks","Interceptions","Touchdowns"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"League Leaders by Week"}},"/{format}/GameStats/{season}":{"get":{"description":"Game stats for a specified season.","operationId":"GameStatsBySeasonDeprecatedUseTeamGameStatsInstead","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Game"},"type":"array"}}},"description":""}},"summary":"Game Stats by Season (Deprecated, use Team Game Stats instead)"}},"/{format}/GameStatsByWeek/{season}/{week}":{"get":{"description":"Game stats for a specified season and week.","operationId":"GameStatsByWeekDeprecatedUseTeamGameStatsInstead","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Game"},"type":"array"}}},"description":""}},"summary":"Game Stats by Week (Deprecated, use Team Game Stats instead)"}},"/{format}/Injuries/{season}/{week}":{"get":{"operationId":"Injuries","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Injury"},"type":"array"}}},"description":""}},"summary":"Injuries"}},"/{format}/Injuries/{season}/{week}/{team}":{"get":{"operationId":"InjuriesByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Injury"},"type":"array"}}},"description":""}},"summary":"Injuries by Team"}},"/{format}/LastCompletedSeason":{"get":{"description":"Year of the most recently completed season. this value changes immediately after the Super Bowl. The earliest season for Fantasy data is 2001. The earliest season for Team data is 1985.","operationId":"SeasonLastCompleted","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"nullable":true,"type":"integer"}}},"description":""}},"summary":"Season Last Completed"}},"/{format}/LastCompletedWeek":{"get":{"description":"Number of the current week of the NFL season. This value usually changes on Tuesday nights or Wednesday mornings at midnight ET.","operationId":"WeekLastCompleted","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"nullable":true,"type":"integer"}}},"description":""}},"summary":"Week Last Completed"}},"/{format}/LiveBoxScores":{"get":{"operationId":"LegacyBoxScoresLive","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BoxScore"},"type":"array"}}},"description":""}},"summary":"Legacy Box Scores Live"}},"/{format}/News":{"get":{"operationId":"News","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/News"},"type":"array"}}},"description":""}},"summary":"News"}},"/{format}/NewsByDate/{date}":{"get":{"operationId":"NewsByDate","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}},{"description":"The date of the news.\n<br>Examples: <code>2017-JUL-31</code>, <code>2017-SEP-01</code>.","in":"path","name":"date","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/News"},"type":"array"}}},"description":""}},"summary":"News by Date"}},"/{format}/NewsByPlayerID/{playerid}":{"get":{"operationId":"NewsByPlayer","parameters":[{"description":"\n Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.\n ","in":"path","name":"format","required":true,"schema":{"type":"string"}},{"description":"Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:<code>14257</code>.","in":"path","name":"playerid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/News"},"type":"array"}}},"description":""}},"summary":"News by Player"}},"/{format}/NewsByTeam/{team}":{"get":{"operationId":"NewsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/News"},"type":"array"}}},"description":""}},"summary":"News by Team"}},"/{format}/Player/{playerid}":{"get":{"operationId":"PlayerDetailsByPlayer","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:<code>732</code>.","in":"path","name":"playerid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerDetail"}}},"description":""}},"summary":"Player Details by Player"}},"/{format}/PlayerGameRedZoneInsideFiveStats/{season}/{week}":{"get":{"operationId":"PlayerGameRedZoneStatsInsideFive","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGameRedZone"},"type":"array"}}},"description":""}},"summary":"Player Game Red Zone Stats Inside Five"}},"/{format}/PlayerGameRedZoneInsideTenStats/{season}/{week}":{"get":{"operationId":"PlayerGameRedZoneStatsInsideTen","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGameRedZone"},"type":"array"}}},"description":""}},"summary":"Player Game Red Zone Stats Inside Ten"}},"/{format}/PlayerGameRedZoneStats/{season}/{week}":{"get":{"operationId":"PlayerGameRedZoneStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGameRedZone"},"type":"array"}}},"description":""}},"summary":"Player Game Red Zone Stats"}},"/{format}/PlayerGameStatsByPlayerID/{season}/{week}/{playerid}":{"get":{"operationId":"PlayerGameStatsByPlayer","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:<code>732</code>.","in":"path","name":"playerid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerGame"}}},"description":""}},"summary":"Player Game Stats by Player"}},"/{format}/PlayerGameStatsBySeason/{season}/{playerid}/{numberofgames}":{"get":{"operationId":"PlayerGameLogsBySeason","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"enum":["JSON","XML"],"type":"string"}},{"description":"Season to get games from. Example <code>2019POST</code>, <code>2020</code>","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Unique FantasyData Player ID. Example:<code>17920</code>.","in":"path","name":"playerid","required":true,"schema":{"type":"string"}},{"description":"How many games to return. Example <code>all</code>, <code>10</code>, <code>25</code>","in":"path","name":"numberofgames","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"Player Game Logs By Season"}},"/{format}/PlayerGameStatsByTeam/{season}/{week}/{team}":{"get":{"operationId":"PlayerGameStatsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"Player Game Stats by Team"}},"/{format}/PlayerGameStatsByWeek/{season}/{week}":{"get":{"operationId":"PlayerGameStatsByWeek","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"Player Game Stats by Week"}},"/{format}/PlayerGameStatsByWeekDelta/{season}/{week}/{minutes}":{"get":{"operationId":"PlayerGameStatsByWeekDelta","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"\n Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}},{"description":"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:<br>\n <code>1</code> or <code>2</code>.\n ","in":"path","name":"minutes","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"Player Game Stats by Week Delta"}},"/{format}/PlayerGameStatsDelta/{minutes}":{"get":{"operationId":"PlayerGameStatsDelta","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n 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:\n <code>1</code> or <code>2</code>.\n ","in":"path","name":"minutes","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerGame"},"type":"array"}}},"description":""}},"summary":"Player Game Stats Delta"}},"/{format}/PlayerOwnership/{season}/{week}":{"get":{"operationId":"FantasyPlayerOwnershipPercentagesSeasonLong","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4.\n Example: <code>1</code>\n ","in":"path","name":"week","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerOwnership"},"type":"array"}}},"description":""}},"summary":"Fantasy Player Ownership Percentages (Season-Long)"}},"/{format}/PlayerSeasonRedZoneInsideFiveStats/{season}":{"get":{"operationId":"PlayerSeasonRedZoneStatsInsideFive","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeasonRedZone"},"type":"array"}}},"description":""}},"summary":"Player Season Red Zone Stats Inside Five"}},"/{format}/PlayerSeasonRedZoneInsideTenStats/{season}":{"get":{"operationId":"PlayerSeasonRedZoneStatsInsideTen","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeasonRedZone"},"type":"array"}}},"description":""}},"summary":"Player Season Red Zone Stats Inside Ten"}},"/{format}/PlayerSeasonRedZoneStats/{season}":{"get":{"operationId":"PlayerSeasonRedZoneStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeasonRedZone"},"type":"array"}}},"description":""}},"summary":"Player Season Red Zone Stats"}},"/{format}/PlayerSeasonStats/{season}":{"get":{"operationId":"PlayerSeasonStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeason"},"type":"array"}}},"description":""}},"summary":"Player Season Stats"}},"/{format}/PlayerSeasonStatsByPlayerID/{season}/{playerid}":{"get":{"operationId":"PlayerSeasonStatsByPlayer","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:<code>732</code>.","in":"path","name":"playerid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeason"},"type":"array"}}},"description":""}},"summary":"Player Season Stats by Player"}},"/{format}/PlayerSeasonStatsByTeam/{season}/{team}":{"get":{"operationId":"PlayerSeasonStatsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}},{"description":"Abbreviation of the team. Example: <code>WAS</code>.","in":"path","name":"team","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeason"},"type":"array"}}},"description":""}},"summary":"Player Season Stats by Team"}},"/{format}/PlayerSeasonThirdDownStats/{season}":{"get":{"operationId":"PlayerSeasonThirdDownStats","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}},{"description":"\n Year of the season and the season type. If no season type is provided, then the default is regular season.\n <br>Examples: <code>2015REG</code>, <code>2015PRE</code>, <code>2015POST</code>.\n ","in":"path","name":"season","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlayerSeasonThirdDown"},"type":"array"}}},"description":""}},"summary":"Player Season Third Down Stats"}},"/{format}/Players":{"get":{"operationId":"PlayerDetailsByAvailable","parameters":[{"description":"Desired response format. Valid entries are <code>XML</code> or <code>JSON</code>.","in":"path","name":"format","required":true,"schema":{"default":"XML","enum":["XML","JSON"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Player"},"type":"array"}}},"description":""}},"summary":"Player Details by Available"}},"/{format}/Players/{team}":{"get":{"operationId":"PlayerDetailsByTeam","parameters":[{"description":"Desired response format. Valid entries are <code>XML</co