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 hashes)