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.2.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for wantstoparty-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c31f61fcf7a605dd961af7a59c8ee5ba7ebdd35a743998890cf2b13f67443b7 |
|
MD5 | 772940aa223f2f5689ae03686d9dbe34 |
|
BLAKE2b-256 | 6c7a6048a5900de0d959de9e4ce53e2df2395335717302340171f3db17875428 |