A python wrapper for the elophant api
This repository has been archived on 2026-09-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2013-04-29 23:52:58 -05:00
.c9revisions added readme 2012-11-16 09:50:13 -05:00
__init__.py initial 2012-11-13 07:47:55 -06:00
api.py Update api.py 2012-11-13 07:53:04 -06:00
readme.md Update readme.md 2013-04-29 23:52:58 -05:00

An overhaul is coming... I hope :D

#Docs are available again. I'll get this updated and off of slumber. requests will replace it. I'll possibly also abstract it to an object like form, so instead of making api calls, you request object attributes that get calculated on the fly via sync api calls.

http://www.elophant.com/league-of-legends/api/docs

#usage examples #a = api(key="###")

print a.champions()

print a.items()

print a.get_player_stats('76833', 'euw')

#print a.get_team_by_id('TEAM-e4936d7b-b80e-4367-a76c-5ccf7388c995', 'na') #print a.get_team_by_tag_or_name('tsm', 'na') #print a.get_summoner_names(['76833']) #print a.get_summoner_team_info('mercenaryRPG', 'na')

#need to install slumber, requests