Comments (7)
Yes, that method is new in 4.0. Version 4.0 is currently an alpha version, meaning it's not recommended to use this in a productive environment. (Even though I do. Living on the edge, heh.)
For now, you can manually create a method like that:
public static Region getRegionByName(String name) {
for (Region region : Region.values()) {
if (region.getName().equals(name.toLowerCase())) {
return region;
}
}
return null;
}
To use the latest version of the master branch, you can also fork/download this repository.
from riot-api-java.
Sure, you forgot to erase the exception, but yes, I will just add the code and wait for the release.
What are you using the api for ?
from riot-api-java.
Whoops, removed the throws statement.
I'm the founder and CEO of LoLSkill.net - some of our backend applications run in Java and use this API wrapper.
from riot-api-java.
Wow that's a good website. Are those adds enough to keep it up ?
What kind of key do you have to execute such a big amount of "querys" ?
from riot-api-java.
Yep, the current page view numbers are high enough to monetize the project and earn a living with advertising. Infact, LoLSkill is my 'main' full-time job since more than a year now. (Besides that I'm translating Steam and games to German for Valve)
LoLSkill has an extended api key, not using the default limits.
from riot-api-java.
@Linnun That's amazing man, congrats on that. I am currently living in Germany, no ida of German though.
How did you get to translate for Valve ? Do you have any "language license" or just a native speaker ? I would do it for Spanish too ! haha
By the way, how did you get the extended api key ? And how many visitors do you have per month in the website ? How many are neccesary to earn (let's say) 2000 € (or $) ?
from riot-api-java.
I'm born and raised in Germany, so I'm a native speaker.
You can request an extended api key from Riot, if your api is regularly hitting the limits and you have a huge user base to serve.
The amount of page views needed to acquite a given goal depends on many factory. It's probably best to ask your advertising partner about the details.
from riot-api-java.
Related Issues (20)
- How to separate TeamStats for each team?
- Gradle build not updated to V4?
- getLeagueById throws RiotApiException HOT 1
- GetGameDuration in Android Studio HOT 3
- get Summoner ID in champ select HOT 1
- Asking about the api HOT 3
- Endpoints for V4 not updated HOT 2
- Support for ACS
- getDataChampion returning 403 HOT 2
- Summoner is in game
- How do I import this in a Scala IntelliJ Project
- get runes pages by summoner
- NumberFormatException when trying to call getMatch() HOT 1
- 403: Forbidden HOT 2
- TeamFightTactics
- Add Tournament Stub
- 403 Forbidden HOT 2
- getDataChampion returns 403 Forbidden
- Cant get the name of a champion
- TFT API Data
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 riot-api-java.