Asynchronous Python wrapper for PluralKit's API.
Project description
pk.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}`)")
Token
The client can be used without one's PluralKit authorization token, but they'll need it if they'd like to edit their system or access any of their system's private members or info.
Links
Todo
- methods:
edit_system
delete_member
get_message
get_fronters
- Tidy up error handling
- What to do with Client.get_url?
- Documentation for get_switches, new_switch
- 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.0.tar.gz
(21.7 kB
view hashes)