Asynchronous Python wrapper for PluralKit's API.
Project description
pluralkit.py
Asynchronous Python wrapper for PluralKit's API. Created with discord.py in mind.
Currently working on PluralKit's v1.0 API.
Quick example
from pluralkit import Client
pk = Client()
async for member in pk.get_members("abcde"):
# list members of the system with ID ``abcde``
print(f"{member.name} (`{member.id}`)")
Installing
Python 3.6 or higher is required.
# linux/MacOS
python3 -m pip install -U pluralkit
# windows
py -3 -m pip install -U pluralkit
Token
The client can be used without one's PluralKit authorization token, but it's required for editing one's system or members or for accessing one's private system or member info.
Links
- PyPI link
- Latest build of the docs
- pluralkit.py Discord support server
- PluralKit support server
- PluralKit's API
Todo
- Tidy up error handling
- Test timezone mechanics
- Prepare for API v2
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
pluralkit-0.0.3.tar.gz
(30.6 kB
view hashes)
Built Distribution
Close
Hashes for pluralkit-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1238984145217ce1ef6093902bb0c544418511c5d1cfd7a29468818e152d955a |
|
MD5 | 7fc34af4560fc0c965c41efff3540a72 |
|
BLAKE2b-256 | d50edf5109ffa42819e2e6e87c93c5c0acc5d49ab22d110c3e1539715163e2d6 |