![]() champions ( champions_version ) print ( current_champ_list ) # For Riot's API, the 404 status code indicates that the requested data wasn't found and # should be expected to occur in normal operation, as in the case of a an # invalid summoner name, match ID, etc. versions_for_region ( my_region ) champions_version = versions # Lets get some champions current_champ_list = lol_watcher. by_summoner ( my_region, me ) print ( my_ranked_stats ) # First we get the latest version of the game from data dragon versions = lol_watcher. by_name ( my_region, 'pseudonym117' ) print ( me ) # all objects are returned (by default) as a dict # lets see if i got diamond yet (i probably didnt) my_ranked_stats = lol_watcher. ![]() ![]() From riotwatcher import LolWatcher, ApiError lol_watcher = LolWatcher ( '' ) my_region = 'na1' me = lol_watcher.
0 Comments
Leave a Reply. |