🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

unbelipy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unbelipy

Asynchronous wrapper for UnbelievaBoat's API written in Python.

2.1.1b0
PyPI
Maintainers
1

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!

Contact

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

Keywords

discord

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts