Phaxio
A Python module for interacting with the Phaxio API.
Installation
Via pip:
$ pip install phaxio
Full Documentation
Usage
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.
Error Handling
Errors will cause an ApiException, with fields for HTTP status code, reponse headers, and json response data in the body.
Testing
export API_KEY="MY_API_KEY" export API_SECRET="MY_API_SECRET" python setup.py test
Contributing
Making API changes
Make changes to spec/api.yaml
Run make swagger-generate
Make changes to phaxio/api.py as necessary
Update documentation if necessary
docs/source/phaxio.rst will probably not require updates unless it’s a very big change
docs/source/models.rst will require updates only if there are new model types
Metadata
Release files for phaxio 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phaxio-0.3.tar.gz | 32.6 kB | Without provenance | Details for phaxio-0.3.tar.gz |
Release files / phaxio-0.3.tar.gz
| Download URL | phaxio-0.3.tar.gz |
|---|---|
| Size | 32.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2f316513249233cb2b84d17baa4c8424012833bdc9d78f555bf42249c45b5cf
|
|
BLAKE2b-256 checksum How to use checksums |
29a89e2aafe668d9126173c6f8c97acb5b607140a0a8e59ae6becdbb37c87265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for phaxio 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.