Skip to main content

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)

Source distribution for stats5b5t 0.1.5
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

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page