API wrapper for pronoundb.org
Project description
PronounDB Python API
Python API for the PronounDB API.
Installation
pip install pronoundb
Examples
lookup someones pronouns by their discord id:
from pronoundb import lookup, Platform
lookup(Platform.DISCORD, 123456789012345678)
# -> {123456789012345678: ["he", "him"]}
lookup someones pronouns by their minecraft (java) uuid:
from pronoundb import lookup, Platform
lookup(Platform.MINECRAFT, "12345678-1234-1234-1234-123456789012")
# -> {"12345678-1234-1234-1234-123456789012": ["they", "them"]}
lookup multiple users pronouns by their discord id:
from pronoundb import lookup, Platform
lookup(Platform.DISCORD, [123456789012345678, 987654321098765432])
# -> {123456789012345678: ["he", "him"], 987654321098765432: ["she", "her"]}
Supported Platforms
- Discord
- GitHub
- Minecraft (Java)
- Twitch
Contributing
Contributions to this library are always welcome and highly encouraged.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
pronoundb-1.1.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for pronoundb-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f364c38e22d785da0e228f38803d197dab24bcc8ebecbe9c62fccc566e866ce |
|
MD5 | ad2af91459605a2e49e59abd14f4a7b4 |
|
BLAKE2b-256 | dcd140a54a999983de7149b7d0d19ef5ea4b662238486a12916b7d7fc8980be7 |