We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0c734 commit bd96637Copy full SHA for bd96637
api.py
@@ -1,7 +1,9 @@
1
"""Used for accessing the Skyblock API."""
2
+# Imports
3
import requests
4
import json
5
6
+# Functions
7
class Skyblock:
8
def __init__(self, api_key: str):
9
self.api_key = api_key
@@ -10,7 +12,7 @@ def get_uuid(self, player_name: str) -> str:
10
12
api_request = requests.get(f"https://api.mojang.com/users/profiles/minecraft/{player_name}")
11
13
return api_request.text
14
- # Make API retrieval commands here
15
+ # API Retrieval Commands
16
def get_auctions(self, *, player_name: str = None):
17
"""
18
Returns a `dict` of the 1000 latest auctions in Skyblock.
0 commit comments