class Team
Public Class Methods
bySummonerIDS(region, summonerIDS)
click to toggle source
# File lib/riot-api-ruby/team.rb, line 3 def self.bySummonerIDS(region, summonerIDS) uri = Utils.baseURI + '/api/lol/' + region + '/v2.3/team/by-summoner/' + summonerIDS + "?api_key=" + Utils.getAPIKey jsonRequest = open(uri).read return JSON.parse(jsonRequest) end
byTeamIDS(region, teamIDS)
click to toggle source
# File lib/riot-api-ruby/team.rb, line 9 def self.byTeamIDS(region, teamIDS) uri = Utils.baseURI + '/api/lol/' + region + '/v2.3/team/' + teamIDS + "?api_key=" + Utils.getAPIKey jsonRequest = open(uri).read return JSON.parse(jsonRequest) end