alohi / faxplus-python Goto Github PK
View Code? Open in Web Editor NEWPython SDK to use FAX.PLUS API
License: MIT License
Python SDK to use FAX.PLUS API
License: MIT License
Several fax status codes are reported by the API, but they do not appear in the API documentation.
For example:
failed_call_rejected
failed_origination_unknown
failed_zero_page_transmitted
There may be other status codes that are not currently documented. It would be beneficial to have a more comprehensive list of error codes along with their human-readable definitions, similar to those provided in the web console or via the getFax
method in the API, which includes more descriptive definitions.
This enhancement would improve the clarity and usability of the API for developers, ensuring they have the necessary information to handle various fax statuses effectively.
Thank you!
I can’t find a way to get access_token and clinet_id in the SDK, how do I get it?
Calling send_fax
returns null
as a response with status code 500. What causes this issue?
Here's the code:
retry_options = RetryOptions(count=2, delay=15)
outbox_options = OutboxOptions(
enhancement=True, retry=retry_options
)
payload_outbox = PayloadOutbox(
from_number="+1234567",
to=["+1234567"],
files=["file.pdf"],
options=outbox_options,
)
res = outbox_api.send_fax(
user_id="self", body=payload_outbox
)
This raises an ApiException
with 500 Internal Server Error
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.