Skip to main content

A simple Python wrapper for Elite Creative allowing you to easly interact with the API.

Project description

eliteapi

eliteapi is a Python wrapper for Elite Creative allowing you to easly interact with the API.

Installation

To install eliteapi, run the following command into your terminal:

pip install eliteapi

Example Usage

from eliteapi import EliteCreative

elite = EliteCreative('api-key')  # Generate your API key at https://elitescrims.xyz/developer

stats = elite.get_user_stats('user-id')
print(stats)

Methods

get_user_stats(user_id)

Return the users Elite Creative statistics

elite.get_user_stats('user-id')

get_user_queue(user_id)

Returns information about the users queue (if they're queuing)

elite.get_user_queue('user-id')

in_game(user_id)

Whether or not the user is in an on going match

elite.in_game('user-id')

get_match_by_game_id(game_id)

Get a games statistics by it's game Id

elite.get_match_by_game_id('game-id')

get_match_by_user_id(user_id)

Get a games statistics by one of the players (either player 1 or 2)

elite.get_match_by_user_id('user_id')

get_team_by_team_id(team_id)

Return information about a team by it's Id

elite.get_team_by_team_id('team-id')

get_team_by_user_id(user_id)

Return information about a team by either the captain or member's Id

elite.get_team_by_user_id('user-id')

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

eliteapi-0.4.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file eliteapi-0.4.tar.gz.

File metadata

  • Download URL: eliteapi-0.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for eliteapi-0.4.tar.gz
Algorithm Hash digest
SHA256 5742f5b4fcc39474ec01141182d96725d3c7add8a229000b899fa0676acedc0a
MD5 6673b654ca662c3079bccc92054d8250
BLAKE2b-256 e99f9ffd477450e33c5e8ae5f3431c56272665679b5f2e102ecd9bc9b94cbafe

See more details on using hashes here.

Supported by

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