Game Data Import
intermediateLast updated: 1/15/2024
Import game data from Riot API including match results and player statistics
Game Data Import
Import game data from Riot API to automatically populate match results, player statistics, and game information.
Game Data Overview
Game data import provides:
- Match Results: Automatic result import
- Player Statistics: Player performance data
- Game Information: Game details and timeline
- Team Statistics: Team performance data
How Import Works
Import Process
Import Flow:
- Game finishes in League of Legends
- System identifies game (via code or callback)
- System fetches data from Riot API
- Data processed and stored
- Match updated with results
Data Sources
Import Methods:
- Tournament Codes: Automatic import via codes
- Riot Callbacks: Automatic import via webhooks
- Manual Import: Manual import by game ID
- Bulk Import: Import multiple games
Automatic Import
Tournament Code Import
How It Works:
- Game created with tournament code
- Game finishes
- System detects completion
- Data fetched automatically
- Results imported
Callback Import
How It Works:
- Riot sends callback when game finishes
- System receives callback
- Game data fetched
- Results imported automatically
- Match updated
Manual Import
Step 1: Access Game
- Navigate to match
- Find game to import
- Click "Import Game" or "Import from Riot"
Step 2: Enter Game ID
- Enter Riot game ID
- Enter region
- Click "Import"
- System fetches data
Step 3: Verify Import
- Review imported data
- Verify results are correct
- Check statistics
- Confirm import successful
Imported Data
Match Results
Result Data:
- Winner team
- Match score
- Game scores
- Match duration
- Completion status
Player Statistics
Player Data:
- KDA (Kills/Deaths/Assists)
- CS (Creep Score)
- Gold earned
- Damage dealt
- Vision score
- Champion played
- Items purchased
Team Statistics
Team Data:
- Team KDA
- Total gold
- Total damage
- Objectives taken
- Team performance
Game Information
Game Details:
- Game duration
- Game mode
- Map information
- Patch version
- Game timeline
Import Status
Import States
Import Statuses:
- Pending: Import not started
- Importing: Import in progress
- Completed: Import successful
- Failed: Import failed
- Skipped: Import skipped
Checking Status
How to Check:
- Go to match or game
- View import status
- See import history
- Check for errors
Best Practices
Import Timing
- Automatic: Use automatic import when possible
- Manual Backup: Have manual import as backup
- Verify Results: Always verify imported results
- Check Statistics: Review statistics after import
Data Accuracy
- Verify Data: Verify imported data is correct
- Check Results: Double-check match results
- Review Statistics: Review player statistics
- Fix Errors: Fix any import errors
Troubleshooting
"Import failed"
Problem: Game import failed
Solutions:
- Check Riot API access
- Verify game ID is correct
- Check region is correct
- Verify game exists
- Check API rate limits
- Try again
"Data incomplete"
Problem: Imported data is incomplete
Solutions:
- Check Riot API response
- Verify game is complete
- Check API access
- Re-import if needed
- Contact support if persistent
"Cannot find game"
Problem: Game not found in Riot API
Solutions:
- Verify game ID is correct
- Check region is correct
- Verify game exists
- Check game is accessible
- Try different import method
Related Articles
Tags:riot-integrationimportgame-datastatistics