Skip to main content

Hypixel Bedwars Statistics API Wrapper

Build Status

Easily access the Bedwars statistics of any hypixel player with one line of code in Python!

New Features!

  • stat_grab() When doing bedwars("level, wins_bedwars", "Heknon") It will return this list ['Level: 105', 'wins_bedwars: 966'] What if you have a list of lots of statistics and want a specific statistic? Examples:

    heknon = bedwars("level, wins_bedwars", "Heknon") stat_grab("Level", heknon) Besure to write the specified statistic as it is in the outputed list with or without the colon

Examples

You can add you API Key using addkeys("APIKEY HERE") after adding a key you need to run the program once so it will create the file to store the key. You can call as many statistics as you want for a player and its considered one request. bedwars("level, Experience, kills_bedwars, etc...", "NAME")


  • Example Code
from BWStatsWrapper import addkeys, stat_grab, bedwars
addkeys("APIKEY, Another API Key <not necessary right now as it won't alternate between keys>")
heknon = bedwars("level, wins_bedwars", "Heknon")  # DO NOT MAKE MORE THEN 120 OF THESE REQUESTS PER MINUTE
gamerboy80 = bedwars("level, wins_bedwars", "gamerboy80")
print(stat_grab("wins_bedwars", heknon))  # --> OUTPUT: 966
print(stat_grab("wins_bedwars", gamerboy80))  # --> OUTPUT: 21258
print(stat_grab("Level", gamerboy80))  # --> OUTPUT: 1154
This code will return an error on its first run but not on it's second run as it is adding keys while also requesting for data.

TODO

Add alternating API Keys.

License

MIT

Metadata

Release files for BWStatsWrapper 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BWStatsWrapper 0.2
File Size Uploaded Provenance
BWStatsWrapper-0.2.tar.gz 11.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for BWStatsWrapper 0.2
File Interpreter ABI Platform
BWStatsWrapper-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / BWStatsWrapper-0.2.tar.gz

Download URL BWStatsWrapper-0.2.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b1770d78973144120a5498ce3ac5abe41905784758ef858d71b0df602311800
BLAKE2b-256 checksum
How to use checksums
8689bd8ee7bc7836be3e73a34351cc388866a4947e59c594ce05d83766db943a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / BWStatsWrapper-0.2-py3-none-any.whl

Download URL BWStatsWrapper-0.2-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c1891488b19b231227315b04d49979a85791b3989d234a12a9bc4d7bcd1fbde
BLAKE2b-256 checksum
How to use checksums
36268632c81b2d9f87050d40dcff20bc7284d0f88426bef36edc1a13eb028217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for BWStatsWrapper 0.2

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.

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