FPL Wizard

FPL Wizard · GPT アクション

FPL Fixtures API

Retrieves fixture data for the Fantasy Premier League.

  • GET /fixtures?event={event}GetFixturesByEvent

    Get list of fixtures for a specific event

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "FPL Fixtures API",
    "description": "Retrieves fixture data for the Fantasy Premier League.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://fantasy.premierleague.com/api"
    }
  ],
  "paths": {
    "/fixtures?event={event}": {
      "get": {
        "description": "Get list of fixtures for a specific event",
        "operationId": "GetFixturesByEvent",
        "parameters": [
          {
            "name": "event",
            "in": "path",
            "required": true,
            "description": "The event to retrieve fixtures for",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An array of fixtures for the specified event",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Fixture"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Fixture": {
        "type": "object",
        "properties": {
          "events": {
            "type": "string"
          },
          "game_settings": {
            "type": "string"
          },
          "phases": {
            "type": "string"
          },
          "teams": {
            "type": "string"
          },
          "total_players": {
            "type": "string"
          },
          "elements": {
            "type": "string"
          },
          "element_stats": {
            "type": "string"
          },
          "element_types": {
            "type": "string"
          }
        }
      }
    }
  }
}