A simple API wrapper for Uptobox.
Install uptobox with pip
# Linux/macOS
python3 -m pip install -U uptobox
# Windows
py -3 -m pip install -U uptobox
from uptobox import Client
client = Client(
token="token"
)
@client.listen()
def on_connect():
print(f"Connected to {client.user.name}")
file = client.fetchFile("abcdefghi123")
print(file.name)
client.upload("myfile.txt")
client.login()
If you have any feedback, please reach out to us on our discord