Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

unbelipy

forthebadge made-with-python

PyPI status PyPI version fury.io PyPI downloads PyPI license

Asynchronous wrapper for UnbelievaBoat's API written in Python.

Characteristics

  • Easy to use
  • Full error handling
  • Type hinted readable code
  • Active maintenance
  • Fully Asynchronous

Note

This wrapper has not been declared to be official by the UnbelievaBoat developers. Any internal library issues/feature requests are to be directed here.

Project status

Early beta stage. It's not yet production ready.
Although most of the functionality is operational, rate limits are still being worked on.

Installation

Python 3.8 or above required, due to typehinting.

To install unbelipy from PyPI, use the following command:

pip install -U unbelipy

Or to install from Github:

pip install -U git+https://github.com/chrisdewa/unbelipy/

Dependencies

The following libraries will be needed and automatically installed with unbelipy:

Feature Requests

For feature requests, please open a Pull Request with detailed instructions.
Likewise, if you encounter any issues, you may create a new Issue.

Examples

from unbelipy import UnbeliClient

client = UnbeliClient(token='Unbelievaboats token generated from https://unbelievaboat.com/applications/')
guild_id: int = ...
member_id: int = ...

async def main():
    perms = await client.get_permissions(guild_id)
    guild = await client.get_guild(guild_id)
    guild_leaderboard = await client.get_guild_leaderboard(guild_id)
    user_balance = await client.get_user_balance(guild_id, member_id)
    user_balance = await client.edit_user_balance(guild_id, member_id, cash='5') # adds 5 to the user's cash
    user_balance = await client.set_user_balance(guild_id, member_id, cash='5') # sets the user's cash to 5

More examples!

Links

Contact

As of now, there is no support server for this library. However, you may contact the following people on Discord:

Metadata

Release files for unbelipy 2.1.1b0

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

Source distribution (sdist)

Source distribution for unbelipy 2.1.1b0
File Size Uploaded
unbelipy-2.1.1b0.tar.gz 12.6 kB Details

Built distribution (wheel)

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

Total release size: 27.8 kB

Release files / unbelipy-2.1.1b0.tar.gz

Download URL unbelipy-2.1.1b0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0699a2dde92bfb7eee603d392d3ca48955ed7cd53090d76acfa728d8b59b12
BLAKE2b-256 checksum
How to use checksums
1fb6225530393ec13d625997fde269aa3cfb764b94416436fe8d771b23f9f256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.10.6 Windows/10

Release files / unbelipy-2.1.1b0-py3-none-any.whl

Download URL unbelipy-2.1.1b0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc7ba69c13aa24f1687c1c4f98ec956fc592f0ffac4c547f00156e793859704
BLAKE2b-256 checksum
How to use checksums
3dcbd6a2f34bcc0d9425290889a9875b777b2553f91faa2250432e838e300bf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.10.6 Windows/10
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