Skip to main content

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:

  1. Game finishes in League of Legends
  2. System identifies game (via code or callback)
  3. System fetches data from Riot API
  4. Data processed and stored
  5. 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:

  1. Game created with tournament code
  2. Game finishes
  3. System detects completion
  4. Data fetched automatically
  5. Results imported

Callback Import

How It Works:

  1. Riot sends callback when game finishes
  2. System receives callback
  3. Game data fetched
  4. Results imported automatically
  5. Match updated

Manual Import

Step 1: Access Game

  1. Navigate to match
  2. Find game to import
  3. Click "Import Game" or "Import from Riot"

Step 2: Enter Game ID

  1. Enter Riot game ID
  2. Enter region
  3. Click "Import"
  4. System fetches data

Step 3: Verify Import

  1. Review imported data
  2. Verify results are correct
  3. Check statistics
  4. 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:

  1. Go to match or game
  2. View import status
  3. See import history
  4. 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
Tags:riot-integrationimportgame-datastatistics

Was this article helpful?