fightmegg / riot-rate-limiter Goto Github PK
View Code? Open in Web Editor NEWRate Limiter for Riot Games API
License: MIT License
Rate Limiter for Riot Games API
License: MIT License
Currently, if you try to make a request to the new challenges paths (for example /lol/challenges/v1/challenges/config
) you will get unsupported region: na1 or method: null
Need to add in spectator v5 endpoints: https://developer.riotgames.com/apis#spectator-v5
https://www.riotgames.com/en/DevRel/tournament-v5-is-coming
Must implement tournament v5 before October 11th
Hi!
When I try to add the beginIndex
field and there is no more match returned by the Riot's API, my code never ends.
No error is throw despite the fact that Riot is returning a 404.
Here are the logs of my application:
riotratelimiter:main Request: https://na1.api.riotgames.com/lol/match/v4/matchlists/by-account/AGzqwU_OQkvutSMe2LmMy_g6And1by0RA7JWOBvWbLXsuA?beginIndex=200 region: na1 method: MATCH.GET_MATCHLIST_BY_ACCOUNT +42ms
riotratelimiter:queue na1 MATCH.GET_MATCHLIST_BY_ACCOUNT Event triggered: received { RECEIVED: 1, QUEUED: 0, RUNNING: 0, EXECUTING: 0 } +3ms
riotratelimiter:queue na1 MATCH.GET_MATCHLIST_BY_ACCOUNT Event triggered: queued { RECEIVED: 0, QUEUED: 1, RUNNING: 0, EXECUTING: 0 } +12ms
riotratelimiter:queue na1 MATCH.GET_MATCHLIST_BY_ACCOUNT Draining 1602361073878 { RECEIVED: 0, QUEUED: 1, RUNNING: 0, EXECUTING: 0 } +0ms
riotratelimiter:queue na1 MATCH.GET_MATCHLIST_BY_ACCOUNT Drained 1602361073878 { RECEIVED: 0, QUEUED: 1, RUNNING: 0, EXECUTING: 0 } +16ms
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.