The Official Python API Wrapper for the Nothing Currency!
Project description
NothingAPI - The Official Python API Wrapper for the Nothing Currency!
Basic Syntax
Installing the API using pip:
pip install nothingapi
Fetching a User's object and printing it's balance:
import nothingapi as api
user = api.get_user(user_id)
print(user.balance)
Fetching a Guild's object and printing it's total value:
import nothingapi as api
user = api.get_guild(guild_id)
print(guild.total_value)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nothingapi-2.0.0.tar.gz
(5.5 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nothingapi-2.0.0.tar.gz.
File metadata
- Download URL: nothingapi-2.0.0.tar.gz
- Upload date:
- Size: 5.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1345fc81283c76fb74e563690f22d0692f5395183a7c91e60183a299f51ddcc4
|
|
| MD5 |
d2cfd65769b5ccca1581bdc14df5adaf
|
|
| BLAKE2b-256 |
f1192cc8f8b7d053ff4b45266f370eb16a32f0d2ecd687af4f6e564ea9aa6605
|
File details
Details for the file nothingapi-2.0.0-py3-none-any.whl.
File metadata
- Download URL: nothingapi-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d2929fc030c238170e4b92f62c1265e4b7bc0b8c9f5fe3fa2ad0eaf05b531a
|
|
| MD5 |
66ac5e180459848a2af36958f50bbc57
|
|
| BLAKE2b-256 |
4f4c0fafd00fb71eff332077e6cb14f3dbf5db3bc5cbb56ead5960ab50b5e834
|