{
    "name": "League of Legends Analysis API",
    "version": "2.0",
    "description": "Comprehensive player analysis using modern Riot ID format",
    "hosting": "Single PHP file for cPanel hosting",
    "endpoints": {
        "API Documentation": "\/",
        "API Key Test": "\/test-key",
        "Player Analysis": "\/player-analysis\/{riotId}?matches={count}",
        "Debug Match History": "\/debug-matches\/{riotId}",
        "Health Check": "\/health"
    },
    "format": {
        "required": "Riot ID format: gameName#tagLine",
        "examples": [
            "Doublelift#NA1",
            "Faker#KR1",
            "Caps#EUW"
        ],
        "urlEncoding": "Use %23 instead of # in URLs"
    },
    "limits": {
        "rateLimit": "15 requests per 2 minutes",
        "maxMatches": 30
    },
    "examples": {
        "Test API Key": "https:\/\/tinker.0xretro.dev\/public\/api\/lol\/stats.php\/test-key",
        "Player Analysis": "https:\/\/tinker.0xretro.dev\/public\/api\/lol\/stats.php\/player-analysis\/Faker%23KR1?matches=20",
        "Debug Match History": "https:\/\/tinker.0xretro.dev\/public\/api\/lol\/stats.php\/debug-matches\/Slaad%23Slaad",
        "Health Check": "https:\/\/tinker.0xretro.dev\/public\/api\/lol\/stats.php\/health"
    },
    "apiKeyManagement": "https:\/\/developer.riotgames.com\/",
    "timestamp": "2026-09-18T07:45:26+00:00"
}