discordtownlistpy-0.0.3
توضیحات
An unofficial API wrapper for interfacing with discord town list API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discordtownlistpy-0.0.3 |
| نام | discordtownlistpy |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Infinity#2837 |
| ایمیل نویسنده | bobcustomerservice@talktalk.net |
| آدرس صفحه اصلی | https://github.com/TrainsRAwesome/discordtownlistpy |
| آدرس اینترنتی | https://pypi.org/project/discordtownlistpy/ |
| مجوز | - |
# discordtownlistpy
This is an unofficial Python API Wrapper for the [Discord TownList (bot list)](https://townlist.xyz/).
## Posting Server Count
```py
import discordtownlistpy as dtl
...
dtl.postGuildCount(len(bot.guilds), "<YOUR_API_TOKEN>")
```
## Retrieving Bot Data
```py
import discordtownlistpy as dtl
...
@bot.command()
async def botstats(ctx, bot_id):
bot_data = await returnBotData(bot_id)
...
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | asyncio |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl discordtownlistpy-0.0.3:
pip install discordtownlistpy-0.0.3.whl
نصب پکیج tar.gz discordtownlistpy-0.0.3:
pip install discordtownlistpy-0.0.3.tar.gz