Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benawad/lol-scout-updater
https://github.com/benawad/lol-scout-updater
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benawad/lol-scout-updater
- Owner: benawad
- Created: 2015-05-08T14:05:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T03:30:56.000Z (about 9 years ago)
- Last Synced: 2024-10-11T08:11:50.150Z (3 months ago)
- Language: Python
- Size: 188 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lol-scout-updater
A small python script that accesses the Riot Games API and retrieves stats on a random challenger player. It then formats the stats and writes it to a file. I use the program to pick the featured player for my [LoL Scout app](https://play.google.com/store/apps/details?id=benawad.com.lolscout&hl=en).## How to run it on your computer
1. Get an API key at the developer page at [Riot](https://developer.riotgames.com/) and create a free account.
2. Change the API key in the program to yours
3. Change the `filepath` variable to the path of where you want the program to write the text file to.## Running the program
The player information is printed in the terminal and written to the file. A output should look like this:`15,51,34,17,7.6,4.1,9,EnmaDaiO,na,Sivir,4,7,1055,3087,3031,1038,3006,1053,(9)[r_1_3.png]#+0.95 attack damage!,(9)[b_3_3.png]#+1.34 magic resist!,(9)[y_1_3.png]#+1 armor!,(3)[bl_3_3.png]#+4.5% attack speed!`