A minimalistic wrapper around the Elophant League of Legends statistics API.
Usage
To start, you’ll need to sign up for an API key. Once you have that, here’s how you use it.
>>> from elophant import Elophant
>>> e = Elophant(key='IyDxAwvLhQbzEZPiVYJo', region='na')
>>> e.get_summoner('Elsydeon')
{u'data': {u'internalName': u'elsydeon', u'name': u'Elsydeon' ...
>>> e.find_team('clg')
{u'data': {u'status': u'RANKED', u'modifyDate': u'/Date(1358737198000)/', u'name': u'Counter Logic Gaming' ...
Installation
It’s easy and foolproof! Like tower diving!
pip install elophant
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
elophant-0.0.3.tar.gz
(2.1 kB
view details)
File details
Details for the file elophant-0.0.3.tar.gz.
File metadata
- Download URL: elophant-0.0.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ec2a3f21895548f5b9d806447d7efa5de25ac218ac869e75a2df5ebed9e9c8
|
|
| MD5 |
155adbadf7702765e05591aa4a80344c
|
|
| BLAKE2b-256 |
46f503e88d945b81e7bd7aa634201230eba4b9485c77e4d53e24c7904fe688cf
|