diff --git a/api.py b/api.py index 10e3aef..f3e0639 100644 --- a/api.py +++ b/api.py @@ -100,3 +100,11 @@ def get_current_election(self) -> dict: election_info = json.loads(api_request) del election_info["mayor"] return election_info + + def get_bingo_event(self) -> dict: + """ + Returns a `dict` of information regarding the current bingo event and goals in Skyblock. + """ + api_request = requests.get("https://api.hypixel.net/resources/skyblock/bingo").content + bingo_data = json.loads(api_request) + return bingo_data