League-a-Lot
Check how much time you (or your friends) spend playing League of Legends!
Live at: https://lol.zvs.io
Running
# docker build -t league-a-lot .
# docker run -p 8080:8080 --env GIN_MODE=release --env RIOTAPIKEY=*** league-a-lot
Testing
echo "GET https://lol.zvs.io/" | go/bin/vegeta attack -duration=5s -rate 1000/1s | tee results.bin | go/bin/vegeta report
Building
Running locally:
$ go build && ./league-a-lot
Todo
- Timing validation/tests
- Integration test to ping final site and check for 200 OK
- Visual feedback for waiting in line/rate limiting
- Expand to better app that can 'track' certain ID's and continuously scrape, etc.
- Ceiling for queries at 100