vinnicc / dota

Ruby client for the Dota 2 WebAPI
MIT License
45 stars 29 forks source link

How to filter League Tournament Level ? #34

Closed 7urkm3n closed 6 years ago

7urkm3n commented 8 years ago

I found this in api/leagues. Is there way to filter level of league ? I couldn't figure it out somehow.

      TIERS = {
        1 => "Amateur",
        2 => "Professional",
        3 => "Premier"
      }

Thank You!

vinnicc commented 6 years ago

I'm not aware if Valve's API did happen to support this after all this time. In any case, there's no built-in support in the gem yet. However, you can pass arbitrary parameters as needed.