Football Pro Insights

Football Pro Insights · GPT アクション

API Football Fixtures

API endpoint to retrieve football fixtures information.

  • GET /fixturesRetrieve football fixtures information
  • GET /playersRetrieve players information
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Football Fixtures",
    "description": "API endpoint to retrieve football fixtures information.",
    "version": "v1.0"
  },
  "servers": [
    {
      "url": "https://v3.football.api-sports.io",
      "description": "Production server"
    }
  ],
  "paths": {
    "/fixtures": {
      "get": {
        "summary": "Retrieve football fixtures information",
        "operationId": "getFixtures",
        "tags": [
          "fixtures"
        ],
        "parameters": [
          {
            "name": "league",
            "in": "query",
            "required": true,
            "description": "League ID to filter the fixtures",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": true,
            "description": "Fromdate to filter the fixtures",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "description": "Todate to filter the fixtures",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": true,
            "description": "Season year to filter the fixtures",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with fixtures data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "fixture_id": {
                        "type": "integer",
                        "description": "Unique identifier for the fixture"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "rapidAPIKey": []
          }
        ]
      }
    },
    "/players": {
      "get": {
        "summary": "Retrieve players information",
        "operationId": "getPlayers",
        "tags": [
          "players"
        ],
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Search term for player names",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "league",
            "in": "query",
            "required": false,
            "description": "League ID to filter the players",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "team",
            "in": "query",
            "required": false,
            "description": "Team ID to filter the players",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": true,
            "description": "Season year to filter the players",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number for pagination",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with players data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "player_id": {
                        "type": "integer",
                        "description": "Unique identifier for the player"
                      },
                      "id": {
                        "type": "integer",
                        "hidden": true,
                        "description": "Unique identifier for the player"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "rapidAPIKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {},
    "securitySchemes": {
      "rapidAPIKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-RapidAPI-Key"
      }
    }
  }
}

player ratings

  • GET /api/numberList all players, their seasonel Ranko ratings and minutes played
  • GET /api/team_scoresList all teams of the 5 top leagues and their seasonel Ranko ratings
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0.0",
    "title": "player ratings",
    "license": {
      "name": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://rankofootball.com"
    }
  ],
  "paths": {
    "/api/number": {
      "get": {
        "summary": "List all players, their seasonel Ranko ratings and minutes played",
        "operationId": "listPlayerRatings",
        "tags": [
          "player"
        ],
        "parameters": [
          {
            "name": "season",
            "in": "query",
            "description": "which season (first year)",
            "required": true,
            "schema": {
              "type": "integer",
              "maximum": 3000,
              "format": "int32"
            }
          },
          {
            "name": "league",
            "in": "query",
            "description": "id of league",
            "required": true,
            "schema": {
              "type": "integer",
              "maximum": 10000,
              "format": "int32"
            }
          },
          {
            "name": "topn",
            "in": "query",
            "description": "how many players should be listed",
            "required": true,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of players and ratings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "player": {
                        "type": "string",
                        "description": "Name of the player"
                      },
                      "rating": {
                        "type": "number",
                        "format": "float",
                        "description": "Average Ranko rating for the player in the season"
                      },
                      "minutes": {
                        "type": "integer",
                        "description": "Minutes played by the player in the season"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/team_scores": {
      "get": {
        "summary": "List all teams of the 5 top leagues and their seasonel Ranko ratings",
        "operationId": "listTeamRatings",
        "tags": [
          "team"
        ],
        "parameters": [
          {
            "name": "season",
            "in": "query",
            "description": "which season (first year)",
            "required": true,
            "schema": {
              "type": "integer",
              "maximum": 3000,
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of teams of the five top leagues and ratings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "team_name": {
                        "type": "string",
                        "description": "Name of the team"
                      },
                      "current_season_points": {
                        "type": "number",
                        "format": "float",
                        "description": "Ranko rating in the season"
                      },
                      "rank": {
                        "type": "integer",
                        "description": "Rank"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Abotify product information API

  • GET /4RbkMMYIhp964c0FnTuPwMj0_RLSlGX9qKbULw9I9f4/get_product_infoGet product info
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Abotify product information API",
    "version": "0.0.1.0"
  },
  "servers": [
    {
      "url": "https://api.abotify.com",
      "description": "Organize the world's information for LLMs. We provide information API tailored for different chatbots."
    }
  ],
  "paths": {
    "/4RbkMMYIhp964c0FnTuPwMj0_RLSlGX9qKbULw9I9f4/get_product_info": {
      "get": {
        "summary": "Get product info",
        "operationId": "get_product_info",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "backend"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    }
  }
}