Giter VIP home page Giter VIP logo

Comments (7)

Linnun avatar Linnun commented on September 16, 2024

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.

JonZarate avatar JonZarate commented on September 16, 2024

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.

Linnun avatar Linnun commented on September 16, 2024

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.

JonZarate avatar JonZarate commented on September 16, 2024

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.

Linnun avatar Linnun commented on September 16, 2024

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.

JonZarate avatar JonZarate commented on September 16, 2024

@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.

Linnun avatar Linnun commented on September 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.