Skip to main content

Forwards-compatible Flask extension to interact with the sendwithus API

Project description


Forwards-compatible Flask extension to interact with the sendwithus API.


pip install Flask-Sendwithus


Uses the standard extension pattern. Example:

>>> from flask import Flask
>>> from flask_sendwithus import Sendwithus

>>> app = Flask(__name__)
>>> app.config['SENDWITHUS_API_KEY'] = 'YOUR-API-KEY'
>>> sendwithus = Sendwithus()
>>> sendwithus.init_app(app)
>>> r = sendwithus.send(
    recipient={'address': ''})
>>> print(r.status_code)

See the official python client’s documentation for further info on what methods are available. All methods found on the sendwithus.api instance is proxied on the Flask-Sendwithus’s instance.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-Sendwithus, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size Flask_Sendwithus-1.0.2-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size Flask-Sendwithus-1.0.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page