Capitalism API wrapper in Python
Project description
CapAPI
Short for "Capitalism API for Python"
This is a simple, free-to-use, API wrapper for the Capitalism Bots API
Source Code: https://github.com/drapespy/CapAPI
Some Examples
# Basic get user data example
from capapi import get_user
user = get_user(763854419484999722)
print(user.wallet) # Prints the amount in wallet
# 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"))
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
capapi-0.0.8.tar.gz
(3.6 kB
view details)
File details
Details for the file capapi-0.0.8.tar.gz.
File metadata
- Download URL: capapi-0.0.8.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c67357643fdcf5cd38807fe8a5cc1c68cca79cee2de52e88e4cad011415cc17
|
|
| MD5 |
39c3f54dd4e1e398f4b877f1fd4bd809
|
|
| BLAKE2b-256 |
e5671d667792c799c6ef0d8ab71fa83f38bb1e66d2c4dc2809efcedaf99973fe
|