An API wrapper for the wants-to.party API.
Project description
About
wantstoparty
is a feature rich API wrapper for the wants-to.party API which offers:
- Blocking and non-blocking (async) support. See blocking example/See non-blocking example.
- Upload files using raw binary data or a local file stored on disk. Look at the examples above.
- Set a maximum upload file size.
- This prevents files that exceed your limit being uploaded. See example.
- Check if file types are supported on wants-to.party.
- User-friendly errors.
- ...and much more.
Created by acatia#5378
Getting started
-
Install the package:
pip install wantstoparty
-
Create a wants-to.party account.
-
On your dashboard, click the "View api key" button:
-
Import the
WantsToParty
class:from wantstoparty import WantsToParty # For async use, refer to the examples. wtp = WantsToParty(api_key="api key from dashboard")
Join the Motion Development server for extra help, here.
Examples
Some examples can be found in the examples/ folder.
Contributing
Contributions are welcome! Check out the contributing guidelines beforehand.
License
This is licensed under MIT. Read the license here.
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
wantstoparty-2.0.0.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for wantstoparty-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e426295b98068c684988b8cacad63b2a98ea69066fa3b52c19315944545a03ee |
|
MD5 | e2bdfd260351d81d66add6d76cd94cc1 |
|
BLAKE2b-256 | afe91d31dfcb2dba14e7e99fb8dee9d7c43f8a5d7167b123550c2c1d72f0f277 |