Skip to main content

API Wrapper for Elophant(.com)

Project description

# elophant.py

A minimalistic wrapper around the [Elophant](http://elophant.com/developers) League of Legends statistics API.

## Usage

To start, you’ll need to sign up for an [API key](http://elophant.com/developers/new). 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


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page