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.

Source Distribution

elophant-0.0.2.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file elophant-0.0.2.tar.gz.

File metadata

  • Download URL: elophant-0.0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for elophant-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b15b6dee74f0f303882464dd2616cf2647d2239a797e021ab25b189c952aa7af
MD5 bea66fea1a879c19220a24b715b3d37d
BLAKE2b-256 0363cd05adf4c68c0d250eab4c2a208f417fd2b31156ca886479975c0044bcb7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page