Skip to main content

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)

Uploaded Source

Supported by

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