League Legends - Personal Coach

League Legends - Personal Coach · Ações GPT

League of Legends Summoner Stats API

  • GET /summonerStatsGet summoner stats
Esquema API original
{
  "openapi": "3.0.0",
  "info": {
    "title": "League of Legends Summoner Stats API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://lol-gpt.fly.dev/"
    }
  ],
  "paths": {
    "/summonerStats": {
      "get": {
        "operationId": "getSummonerStats",
        "summary": "Get summoner stats",
        "parameters": [
          {
            "name": "summonerName",
            "in": "query",
            "description": "Name of the summoner",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Summoner stats",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "summonerChampPerformance": {
                      "type": "object",
                      "description": "Performance of the summoner with different champions"
                    },
                    "summonerMatchupPerformance": {
                      "type": "object",
                      "description": "Performance of the summoner in different matchups"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}