EnjoyAPI
Ассинхронный клиент для API EnjoyMickeyBot
Установка:
Через GIT:
$ pip install git+https://github.com/KotypeyPyEdition/EnjoyAPI
Через Pypi:
$ pip install EnjoyAPI
Пример:
from EnjoyAPI.EnjoyAPI import EnjoyAPI
from discord.ext import commands
bot = commands.Bot(command_prefix='>>')
enjoyClient = EnjoyAPI(bot, 'ваш токен тут')
@bot.command()
async def checkUser(ctx: commands.Context, userID: int):
data = await enjoyClient.check(userID)
await ctx.send(f'Вот данные от пользователя с ID, ```{data}```')
bot.run('тут токен бота')
Ключ не давали, не тестил, если будут проблемы/вопросы Issues
Metadata
Release files for EnjoyAPI 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| EnjoyAPI-1.3.tar.gz | 2.3 kB | Details |
Release files / EnjoyAPI-1.3.tar.gz
| Download URL | EnjoyAPI-1.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa9908f3a44fbc43c75eed8a32e4b7d7775acf2ac95e00344253c01f7624adcd
|
|
BLAKE2b-256 checksum How to use checksums |
f24a592d40c3a5bbbc67fd08091469a2a69191b05da8fdb9d196322603b030ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
|