capapi-0.0.8
توضیحات
Capitalism API wrapper in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | capapi-0.0.8 |
| نام | capapi |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | drapes |
| ایمیل نویسنده | lildrapesbusiness@gmail.com |
| آدرس صفحه اصلی | https://github.com/drapespy/CapAPI |
| آدرس اینترنتی | https://pypi.org/project/capapi/ |
| مجوز | MIT |
# CapAPI
### Short for "Capitalism API for Python"
This is a simple, free-to-use, API wrapper for the [Capitalism Bots API](https://discord.capitalismbot.repl.co/beta/api/v1)
Source Code: https://github.com/drapespy/CapAPI
### Some Examples
```py
# Basic get user data example
from capapi import get_user
user = get_user(763854419484999722)
print(user.wallet) # Prints the amount in wallet
```
```py
# has_x examples
from capapi import get_user
user = get_user(763854419484999722)
print(user.is_admin()) # Same functionality as
print(user.has_badge("admin"))
print(user.has_item("kirk_juice"))
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5.3 | Python |
نحوه نصب
نصب پکیج whl capapi-0.0.8:
pip install capapi-0.0.8.whl
نصب پکیج tar.gz capapi-0.0.8:
pip install capapi-0.0.8.tar.gz