An API wrapper for the wants-to.party API.
Project description
wantstoparty
An API wrapper for the wants-to.party API.
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", subdomain="subdomain 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-0.2.2.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for wantstoparty-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 725133e09bcc6f97ec666d3b3cc286c5fccdb4df20c4d3455ee47dcd548f4ff5 |
|
MD5 | 82047a501b803042b502a8496acc9f41 |
|
BLAKE2b-256 | 0b8b547dbe57c3b2b06b5667c05a4f7678a73dfe686a7b466f5865934de4ffa6 |