Football Analyst · GPT-Aktionen
NFL Team API
This API allows retrieving NFL team listings, depth charts, news, injury reports, and team rosters by team ID and year.
GET /nfl-team-listing/v1/dataGet a list of NFL team IDsRetrieve a listing of NFL teams and their associated IDs.
GET /nfl-team-depthchartsGet depth chart for a teamRetrieve the depth chart for a given NFL team by ID and year.
GET /nfl-team-newsGet team newsRetrieve the latest news for a specific NFL team by its ID.
GET /nfl-team-injuriesGet team injury reportRetrieve the latest injury report for a specific NFL team by its ID.
GET /nfl-team-rosterGet team rosterRetrieve the roster for a specific NFL team by its ID.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "NFL Team API",
"description": "This API allows retrieving NFL team listings, depth charts, news, injury reports, and team rosters by team ID and year.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://nfl-api-data.p.rapidapi.com",
"description": "NFL API hosted on RapidAPI"
}
],
"paths": {
"/nfl-team-listing/v1/data": {
"get": {
"operationId": "getTeamListings",
"summary": "Get a list of NFL team IDs",
"description": "Retrieve a listing of NFL teams and their associated IDs.",
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"schema": {
"type": "integer"
},
"description": "The team ID."
},
{
"name": "year",
"in": "query",
"required": false,
"schema": {
"type": "integer"
},
"description": "The year for which the data is requested."
}
],
"responses": {
"200": {
"description": "A list of NFL team IDs",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Team"
}
}
}
}
}
},
"security": [
{
"rapidapiKey": []
}
]
}
},
"/nfl-team-depthcharts": {
"get": {
"operationId": "getTeamDepthChart",
"summary": "Get depth chart for a team",
"description": "Retrieve the depth chart for a given NFL team by ID and year.",
"parameters": [
{
"name": "id",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The team ID."
},
{
"name": "year",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The year for which the depth chart is requested."
}
],
"responses": {
"200": {
"description": "Depth chart for the specified team and year",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DepthChart"
}
}
}
}
},
"security": [
{
"rapidapiKey": []
}
]
}
},
"/nfl-team-news": {
"get": {
"operationId": "getTeamNews",
"summary": "Get team news",
"description": "Retrieve the latest news for a specific NFL team by its ID.",
"parameters": [
{
"name": "id",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The team ID."
}
],
"responses": {
"200": {
"description": "Latest news for the team",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TeamNews"
}
}
}
}
},
"security": [
{
"rapidapiKey": []
}
]
}
},
"/nfl-team-injuries": {
"get": {
"operationId": "getTeamInjuries",
"summary": "Get team injury report",
"description": "Retrieve the latest injury report for a specific NFL team by its ID.",
"parameters": [
{
"name": "id",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The team ID."
}
],
"responses": {
"200": {
"description": "Injury report for the team",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TeamInjuries"
}
}
}
}
},
"security": [
{
"rapidapiKey": []
}
]
}
},
"/nfl-team-roster": {
"get": {
"operationId": "getTeamRoster",
"summary": "Get team roster",
"description": "Retrieve the roster for a specific NFL team by its ID.",
"parameters": [
{
"name": "id",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The team ID."
}
],
"responses": {
"200": {
"description": "Roster for the specified team",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TeamRoster"
}
}
}
}
},
"security": [
{
"rapidapiKey": []
}
]
}
}
},
"components": {
"securitySchemes": {
"rapidapiKey": {
"type": "apiKey",
"in": "header",
"name": "X-Rapidapi-Key",
"description": "Your RapidAPI key for authenticating requests."
}
},
"schemas": {
"Team": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"teamName": {
"type": "string"
},
"abbreviation": {
"type": "string"
}
}
},
"DepthChart": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"year": {
"type": "integer"
},
"depthChart": {
"type": "array",
"items": {
"type": "object",
"properties": {
"position": {
"type": "string"
},
"player": {
"type": "string"
}
}
}
}
}
},
"TeamNews": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"news": {
"type": "array",
"items": {
"type": "object",
"properties": {
"headline": {
"type": "string"
},
"article": {
"type": "string"
}
}
}
}
}
},
"TeamInjuries": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"injuries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"player": {
"type": "string"
},
"injury": {
"type": "string"
},
"status": {
"type": "string"
}
}
}
}
}
},
"TeamRoster": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"roster": {
"type": "array",
"items": {
"type": "object",
"properties": {
"playerName": {
"type": "string"
},
"position": {
"type": "string"
},
"jerseyNumber": {
"type": "integer"
}
}
}
}
}
}
}
}
}NFL Live In-Game Real-Time Statistics API
This API retrieves the entire box score for a game either in progress or already completed for the current season, including fantasy points for each player.
GET /getNFLGamesForWeekGet NFL Box ScoreRetrieves NFL games for the week along either pre or post season
GET /getNFLTeamRosterGet Roster for a specific teamRetrieves the roster for a specific team
GET /getNFLBoxScoreGet NFL Box ScoreRetrieves the complete box score for an NFL game.
GET /getNFLTeamScheduleGet NFL Team ScheduleGET /getNFLBettingOddsGet NFL Betting OddsRetrieves betting odds for NFL games on a specific date.
GET /getNFLGameInfoGet NFL Game InfoRetrieves detailed information for a specific NFL game identified by a game ID.
GET /getNFLGamesForPlayerGet NFL Games for PlayerRetrieves NFL games data for a specific player, including various statistical parameters.
GET /getNFLProjectionsGet NFL ProjectionsRetrieves projected NFL statistics for a player or a team in a given week.
GET /getNFLPlayerInfoGet NFL Player InfoRetrieves detailed information about an NFL player, including optional statistical data.
GET /getNFLScoresOnlyGet NFL Scores OnlyRetrieves scores for NFL games on a specified date, with an option to include top performers.
GET /getNFLNewsGet NFL NewsRetrieves recent NFL news, with an option to limit the number of items returned.
GET /getNFLPlayerListGet NFL Player ListRetrieves a comprehensive list of NFL players.
GET /getNFLGamesForDateGet NFL Games for DateRetrieves information about NFL games for a specific date.
GET /getFantasyPointProjectionsGet Fantasy Point ProjectionsRetrieves fantasy point projections for NFL players or teams for a specific week, season, or archived season.
GET /getNFLDepthChartsGet NFL Depth ChartsRetrieves the current NFL depth charts for all teams.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "NFL Live In-Game Real-Time Statistics API",
"version": "1.0.0",
"description": "This API retrieves the entire box score for a game either in progress or already completed for the current season, including fantasy points for each player."
},
"servers": [
{
"url": "https://tank01-nfl-live-in-game-real-time-statistics-nfl.p.rapidapi.com"
}
],
"paths": {
"/getNFLGamesForWeek": {
"get": {
"operationId": "getNFLGamesForWeek",
"summary": "Get NFL Box Score",
"description": "Retrieves NFL games for the week along either pre or post season",
"parameters": [
{
"name": "week",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "seasonType",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "season",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLTeamRoster": {
"get": {
"operationId": "getNFLTeamRoster",
"summary": "Get Roster for a specific team",
"description": "Retrieves the roster for a specific team",
"parameters": [
{
"name": "teamAbv",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "getStats",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "array",
"items": {
"type": "object",
"properties": {
"espnName": {
"type": "string",
"example": "Gerald Everett"
}
}
}
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLBoxScore": {
"get": {
"operationId": "getNFLBoxScore",
"summary": "Get NFL Box Score",
"description": "Retrieves the complete box score for an NFL game.",
"parameters": [
{
"name": "gameID",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "20221212_NE@ARI"
}
},
{
"name": "fantasyPoints",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "true"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLTeamSchedule": {
"get": {
"summary": "Get NFL Team Schedule",
"operationId": "getNFLTeamSchedule",
"tags": [
"NFL Team Schedule"
],
"parameters": [
{
"name": "teamAbv",
"in": "query",
"required": true,
"description": "Abbreviation of the NFL team",
"schema": {
"type": "string"
}
},
{
"name": "season",
"in": "query",
"required": true,
"description": "Season year",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLBettingOdds": {
"get": {
"operationId": "getNFLBettingOdds",
"summary": "Get NFL Betting Odds",
"description": "Retrieves betting odds for NFL games on a specific date.",
"parameters": [
{
"name": "gameDate",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "20240908"
}
},
{
"name": "itemFormat",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "impliedTotals",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLGameInfo": {
"get": {
"operationId": "getNFLGameInfo",
"summary": "Get NFL Game Info",
"description": "Retrieves detailed information for a specific NFL game identified by a game ID.",
"parameters": [
{
"name": "gameID",
"in": "query",
"required": true,
"description": "Unique identifier of the NFL game",
"schema": {
"type": "string",
"example": "20221212_NE@ARI"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLGamesForPlayer": {
"get": {
"operationId": "getNFLGamesForPlayer",
"summary": "Get NFL Games for Player",
"description": "Retrieves NFL games data for a specific player, including various statistical parameters.",
"parameters": [
{
"name": "playerID",
"in": "query",
"required": true,
"description": "Unique identifier of the player",
"schema": {
"type": "string",
"example": "3121422"
}
},
{
"name": "fantasyPoints",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "true"
}
},
{
"name": "twoPointConversions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "2"
}
},
{
"name": "passYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".04"
}
},
{
"name": "passTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "4"
}
},
{
"name": "passInterceptions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "pointsPerReception",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "carries",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".2"
}
},
{
"name": "rushYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "rushTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "fumbles",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "receivingYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "receivingTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "targets",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "0"
}
},
{
"name": "defTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLProjections": {
"get": {
"operationId": "getNFLProjections",
"summary": "Get NFL Projections",
"description": "Retrieves projected NFL statistics for a player or a team in a given week.",
"parameters": [
{
"name": "week",
"in": "query",
"required": true,
"description": "The week for which projections are being retrieved",
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "playerID",
"in": "query",
"required": false,
"description": "The ID of the player to retrieve weekly projections for. If provided, it overrides both `teamID` and `week` parameters.",
"schema": {
"type": "string",
"example": "12345"
}
},
{
"name": "teamID",
"in": "query",
"required": false,
"description": "The ID of the team to retrieve weekly projections for. If provided, it overrides the `week` parameter. Should be left empty if `playerID` is provided.",
"schema": {
"type": "string",
"example": "22"
}
},
{
"name": "twoPointConversions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "2"
}
},
{
"name": "passYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".04"
}
},
{
"name": "passAttempts",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-.5"
}
},
{
"name": "passTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "4"
}
},
{
"name": "passCompletions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "passInterceptions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "pointsPerReception",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "carries",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".2"
}
},
{
"name": "rushYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "rushTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "fumbles",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "receivingYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "receivingTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "targets",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLPlayerInfo": {
"get": {
"operationId": "getNFLPlayerInfo",
"summary": "Get NFL Player Info",
"description": "Retrieves detailed information about an NFL player, including optional statistical data.",
"parameters": [
{
"name": "playerName",
"in": "query",
"required": true,
"description": "The name identifier of the NFL player",
"schema": {
"type": "string",
"example": "justin_fi"
}
},
{
"name": "getStats",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "true"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLScoresOnly": {
"get": {
"operationId": "getNFLScoresOnly",
"summary": "Get NFL Scores Only",
"description": "Retrieves scores for NFL games on a specified date, with an option to include top performers.",
"parameters": [
{
"name": "gameDate",
"in": "query",
"required": true,
"description": "The date of the games for which scores are being retrieved",
"schema": {
"type": "string",
"example": "20221211"
}
},
{
"name": "topPerformers",
"in": "query",
"required": false,
"description": "Option to include top performers in the response",
"schema": {
"type": "string",
"example": "true"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLNews": {
"get": {
"operationId": "getNFLNews",
"summary": "Get NFL News",
"description": "Retrieves recent NFL news, with an option to limit the number of items returned.",
"parameters": [
{
"name": "recentNews",
"in": "query",
"required": true,
"description": "Indicator to retrieve recent news",
"schema": {
"type": "string",
"example": "true"
}
},
{
"name": "maxItems",
"in": "query",
"required": false,
"description": "Maximum number of news items to return",
"schema": {
"type": "string",
"example": "10"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLPlayerList": {
"get": {
"operationId": "getNFLPlayerList",
"summary": "Get NFL Player List",
"description": "Retrieves a comprehensive list of NFL players.",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLGamesForDate": {
"get": {
"operationId": "getNFLGamesForDate",
"summary": "Get NFL Games for Date",
"description": "Retrieves information about NFL games for a specific date.",
"parameters": [
{
"name": "gameDate",
"in": "query",
"required": true,
"description": "The date of the games being queried",
"schema": {
"type": "string",
"example": "20221211"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getFantasyPointProjections": {
"get": {
"operationId": "getFantasyPointProjections",
"summary": "Get Fantasy Point Projections",
"description": "Retrieves fantasy point projections for NFL players or teams for a specific week, season, or archived season.",
"parameters": [
{
"name": "week",
"in": "query",
"required": false,
"description": "Week number (1-18) or 'season' for full season projections. Ignored if playerID or teamID is provided.",
"schema": {
"type": "string"
}
},
{
"name": "season",
"in": "query",
"required": false,
"description": "Season year",
"schema": {
"type": "string"
}
},
{
"name": "playerID",
"in": "query",
"required": false,
"description": "Player ID to filter projections. Overrides week and teamID parameters.",
"schema": {
"type": "string"
}
},
{
"name": "teamID",
"in": "query",
"required": false,
"description": "Team ID to filter projections. Overrides week parameter. Ignored if playerID is provided.",
"schema": {
"type": "string"
}
},
{
"name": "archiveSeason",
"in": "query",
"required": false,
"description": "Year of previous season to retrieve. Does not work with playerID or teamID.",
"schema": {
"type": "string"
}
},
{
"name": "twoPointConversions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "2"
}
},
{
"name": "passYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".04"
}
},
{
"name": "passAttempts",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-.5"
}
},
{
"name": "passTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "4"
}
},
{
"name": "passCompletions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "passInterceptions",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "pointsPerReception",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "carries",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".2"
}
},
{
"name": "rushYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "rushTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "fumbles",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-2"
}
},
{
"name": "receivingYards",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "receivingTD",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "6"
}
},
{
"name": "targets",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": ".1"
}
},
{
"name": "fgMade",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "3"
}
},
{
"name": "fgMissed",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-1"
}
},
{
"name": "xpMade",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "1"
}
},
{
"name": "xpMissed",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "-1"
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object",
"description": "Contains team defense projections and/or player projections"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/getNFLDepthCharts": {
"get": {
"operationId": "getNFLDepthCharts",
"summary": "Get NFL Depth Charts",
"description": "Retrieves the current NFL depth charts for all teams.",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"example": 200
},
"body": {
"type": "object",
"description": "Contains NFL depth charts data"
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Error": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
}
}
}
}
}
}