Skip to main content

Easily access Bedwars stats of a Hypixel player.

Project description

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


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.


Add alternating API Keys.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BWStatsWrapper, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size BWStatsWrapper-0.2-py3-none-any.whl (12.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BWStatsWrapper-0.2.tar.gz (11.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page