Comments (3)
It is possible, but it requires 3 calls. One to /summoner to get the summoner ID, a second to /refresh (which I can implement), and a third to get the refreshed data. This could be avoided if you cached summoner ID's, though.
from op.gg-api.
I already save summonerIds locally, as it is more reliable than summoner names which can be chagned. Would love to see an implementation of a refresh call. :)
from op.gg-api.
I see you already implemented it! That was fast! I'm going to have to donate some money to you at some point :D Thanks!
from op.gg-api.
Related Issues (17)
- match history does not fail gracefully when summoner has been inactive
- calling the items array only contains trinket slot
- Error: Invalid summoner name. HOT 2
- RequestError: TypeError: The header content contains invalid characters HOT 5
- Some returned values are `undefined` HOT 1
- How do you use /:region/analytics/champion
- Getting stats by picked and banned HOT 2
- Can't retrieve ranked stats by
- I need help
- Feature request - match_id and start_time/end_time for matches on summoner HOT 5
- Special Characters in Summonername result in empty result HOT 6
- Mysterious server crashes HOT 6
- Newest op.gg update breaks API HOT 1
- Refresh function targeting NA instead of EUW
- Requests don't return data anymore HOT 1
- "TypeError: validate.Summoner is not a function"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from op.gg-api.