https://github.com/sblack4/lolcrawler
Get data from the Riot API and put it into a SQLite database
https://github.com/sblack4/lolcrawler
api league-of-legends python sql sqlite sqlite3
Last synced: 3 days ago
JSON representation
Get data from the Riot API and put it into a SQLite database
- Host: GitHub
- URL: https://github.com/sblack4/lolcrawler
- Owner: sblack4
- Created: 2018-10-20T23:23:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T20:10:33.000Z (over 7 years ago)
- Last Synced: 2026-04-05T00:19:38.459Z (3 months ago)
- Topics: api, league-of-legends, python, sql, sqlite, sqlite3
- Language: Python
- Homepage:
- Size: 20.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lolcrawler
Get data from the Riot API and put it into a SQLLite database
1. `Lolcrawler` takes a player identity and gets their match list
1. it takes each match id and, if we haven't done it yet, hands it to `handle_match()`
1. `MatchCraler` has `handle_match()` and get the match data from the riot API
1. then it inserts all of the data (that I've set it up to so far) into the database
1. then `Lolcrawler` gets a random player from the player's table and repeats
## Idea
We have a SQLLite Database and this app to
1. get a random player from the database we haven't done yet
1. get all their matches we haven't covered yet
1. get all the information for that match & insert into database
1. get all the timeline data for that match & insert into database
1. mark that player covered and start again from one
The default seed player is set to [Faker](https://lol.gamepedia.com/Faker)