5b5t statistics
API wrapper for 5b5t's statistics
pip install stats5b5t
Tested on: Python 3.9
Documentation
You can find a detailed documentation here
Usage
from stats5b5t import api
stats = api.Statistics()
r = stats.request("uuid here")
print(stats.kills(r))
With debugging:
from stat5b5t import api, tools
stats = api.Statistics()
tests = tools.Debugging()
r = stats.request("uuid here")
print(stats.kills(r))
print(tests.isvalid(r))
print(tests.missmatch(r))
print(tests.errmsg(r))
Username instead of UUID
from stats5b5t import api
stats = api.Statistics()
uuid = stats.getuuid("playername")
r = stats.request(uuid)
print(stats.deaths(r))
Modules: api, tools
api
Handles requests and data sorting for you.
tools
Handles debugging and checks for you.
Updates
I will update this from time to time to add new features, and I will for sure update it whenever there are API changes to stay up to date.
Release files for stats5b5t 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stats5b5t-0.1.5.tar.gz | 3.0 kB | Details |
Release files / stats5b5t-0.1.5.tar.gz
| Download URL | stats5b5t-0.1.5.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56bebabed8683a30fe210e35e2a9ffb5c45d96a0c0fbbd396d6e1dfe9d61487b
|
|
BLAKE2b-256 checksum How to use checksums |
33653c235595ccfef4e367aef1af655ede00bd7ccfdbd6d5dc31d47490f312f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|