Coder Social home page Coder Social logo

faxplus-python's Introduction

Fax.Plus Python SDK

Made for third-party developers and organizations to send and receive faxes from their own software or application.

NPM version License

API DocumentationHomeHelp CenterContact Us

Requirements.

Python 3.5+

Installation

pip install

To install the package from PyPi

# From PyPi
pip install faxplus-api

# Directly from Github
pip install git+https://github.com/alohi/faxplus-python.git

Setuptools

Install via Setuptools.

git clone https://github.com/alohi/faxplus-python.git
cd faxplus-python
python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Getting Started

Example usage:

from faxplus import ApiClient, Configuration, FaxesApi

configuration = Configuration()
configuration.access_token = "YOUR_ACCESS_TOKEN"
client = ApiClient(configuration)
api = FaxesApi()
faxes = api.list_faxes("self", category=FaxCategory.INBOX)

Documentation

Visit the full API reference at apidoc.fax.plus.

Author

© 2024 Alohi (Geneva, Switzerland) - Alohi.com

faxplus-python's People

Contributors

alohi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

faxplus-python's Issues

Send Fax Returning null with status code 500 Server Error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.