Skip to main content

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

  1. Install the package:
    pip install wantstoparty
    
  2. Create a wants-to.party account.
  3. On your dashboard, click the "View api key" button:
  4. 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


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)

Uploaded Source

Built Distribution

wantstoparty-0.2.2-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page