bonesoul / pvpleaderboardupdater

Updates the pvpleaderboard database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PvPLeaderBoard Updater

Updates the World of Warcraft PvP leaderboard data consumed by pvpleaderboard

Use: run pvpleaderboard to update the $DB_URL database with the current data from Blizzard's API

Environment variables:

  • DB_URL the URL of the [PostgreSQL] database to use (required)
  • BATTLE_NET_CLIENT_ID battle.net Client ID (required)
  • BATTLE_NET_SECRET battle.net Client ID (required)
  • MAX_PER_BRACKET maximum number of players to retrieve per bracket (optional, will retrieve all players for each bracket if not set)
  • GROUP_SIZE number of players each goroutine should handle when importing player details (optional)
  • MAX_DB_CONNECTIONS maximum size of the DB connection pool (optional)

About

Updates the pvpleaderboard database

License:MIT License


Languages

Language:Go 90.5%Language:PLpgSQL 9.5%Language:Procfile 0.0%