Skip to main content

API Wrapper for Elophant(.com)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for elophant, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size elophant-0.0.3.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page