Leago is a small and simple library with a convenient interface to interact with Riot API.
- Riot API has many more methods than this implementation written in Golang.
- Before using the library, it's advised to visit Riot API documentation page.
go get github.com/mikemight/leago
Leago uses a rate limiter from this library
IMPORTANT: When initializing the API client, use restrictions that match the Riot API restrictions!
- 20 requests every 1 seconds(s)
- 100 requests every 2 minutes(s)
Otherwise, very often there will be an error associated with exceeding the number of requests.