| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Python module for interacting with the Phaxio API.
Via pip:
$ pip install phaxio
http://phaxio-python.readthedocs.io/en/latest/
Send a fax to multiple people using HTML message:
from phaxio import PhaxioApi
api = PhaxioApi(key, secret)
response = api.Fax.send(to=['4141234567', '5141234567', '6151234567'],
files='/path/to/supported/file.pdf')
print(response.data.id)The full set of Phaxio APIs is available and split into functional groups:
api.Fax api.PhoneNumber api.PhaxCode api.Account api.Countries
Generally, each supported method takes keyword arguments with the exact same names of the API method parameters as they’re described in the Phaxio documentation.
See the tests for additional examples, or the full documentation.
Errors will cause an ApiException, with fields for HTTP status code, reponse headers, and json response data in the body.
export API_KEY="MY_API_KEY" export API_SECRET="MY_API_SECRET" python setup.py test
| Back | FazBrowse Home | New Git URL |