Skip to main content

Ассинхронный клиент для API EnjoyMickeyBot

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EnjoyAPI-1.3.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file EnjoyAPI-1.3.tar.gz.

File metadata

  • Download URL: EnjoyAPI-1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for EnjoyAPI-1.3.tar.gz
Algorithm Hash digest
SHA256 aa9908f3a44fbc43c75eed8a32e4b7d7775acf2ac95e00344253c01f7624adcd
MD5 dd8700de45f46dbdb8e2e9115e26de6b
BLAKE2b-256 f24a592d40c3a5bbbc67fd08091469a2a69191b05da8fdb9d196322603b030ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page