Python图书馆接口
interfax的Python项目详细描述
interfax python包
安装
用python发送和接收传真 interfax rest api。
安装
这个包需要Python2.6+。您可以使用:
pip install interfax
入门
从pdf文件发送传真:
frominterfaximportInterFAXinterfax=InterFAX(username="username",password="password")fax=interfax.deliver(fax_number="+11111111112",files=["folder/fax.pdf"])fax=fax.reload()# resync with API to get latest statusfax.status# Success if 0. Pending if < 0. Error if > 0