leagueloader

command module
v0.0.0-...-00d889c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2018 License: MIT Imports: 12 Imported by: 0

README

This project is no longer maintained. If you would like to take it over, please reach out to @mattcan

LeagueLoader

LeagueLoader is a command line application designed to take a list of summoner IDs from your database and then download their KDA and CS.

Installation From Release

  • Download the latest release

    • You will need the config.json.template, LeagueLoader, and tables.sql files
  • Navigate to the folder where you saved these files

  • Run the tables.sql file into MySQL

    mysql -u yourusername -p yourpassword yourdatabase < tables.sql
    

    Or if you're already in MySQL...

    source tables.sql
    
  • Create a config.json file and update it to include your database credentials, Riot API key, and your rate limits

Usage

After setting up your configuration and importing the database tables, all you need to do is run LeagueLoader:

./LeagueLoader

Keep in mind that LeagueLoader looks for the configuration file in the directory where you called the application. For example, a cronjob will require cd'ing to the folder with the configuration file first.

*/60 * * * * cd /opt/leagueloader 1> /dev/null 2>> /tmp/leagueloader.err && ./leagueloader 1> /dev/null 2>> /tmp/ll.err

Attribution

LeagueLoader isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL