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
- get_user_queue(user_id) - Returns information about the users queue (if they're queuing)
- in_game(user_id) - Whether or not the user is in an on going match
- get_match_by_game_id(game_id) - Get a games statistics by it's game Id
- get_match_by_user_id(user_id) - Get a games statistics by one of the players (either player 1 or 2)
- get_team_by_team_id(team_id) - Return information about a team by it's Id
- get_team_by_user_id(user_id) - Return information about a team by either the captain or member's Id
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')
Metadata
Release files for eliteapi 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eliteapi-0.4.tar.gz | 2.5 kB | Without provenance | Details for eliteapi-0.4.tar.gz |
Release files / eliteapi-0.4.tar.gz
| Download URL | eliteapi-0.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5742f5b4fcc39474ec01141182d96725d3c7add8a229000b899fa0676acedc0a
|
|
BLAKE2b-256 checksum How to use checksums |
e99f9ffd477450e33c5e8ae5f3431c56272665679b5f2e102ecd9bc9b94cbafe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for eliteapi 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.