{ "info": { "author": "Aryeh Polsky", "author_email": "anpolsky@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "Phaxio\n======\n\n|PyPI| |GitHub license|\n\nA Python module for interacting with the `Phaxio API`_.\n\nInstallation\n------------\n\nVia pip:\n\n::\n\n $ pip install phaxio\n\n\nFull Documentation\n------------------\n\nhttp://phaxio-python.readthedocs.io/en/latest/\n\nUsage\n-----\n\nSend a fax to multiple people using HTML message:\n\n.. code:: python\n\n from phaxio import PhaxioApi\n\n api = PhaxioApi(key, secret)\n response = api.Fax.send(to=['4141234567', '5141234567', '6151234567'],\n files='/path/to/supported/file.pdf')\n print(response.data.id)\n\nThe full set of Phaxio APIs is available and split into functional groups:\n\n::\n\n api.Fax\n\n api.PhoneNumber\n\n api.PhaxCode\n\n api.Account\n\n api.Countries\n\nGenerally, each supported method takes keyword arguments with the exact\nsame names of the API method parameters as they\u2019re described in the\n`Phaxio documentation`_.\n\nSee the `tests`_ for additional examples, or the `full documentation`_.\n\nError Handling\n~~~~~~~~~~~~~~\n\nErrors will cause an ``ApiException``, with fields for HTTP status code, reponse headers, and json response data in the body.\n\n\nTesting\n-------\n\n::\n\n export API_KEY=\"MY_API_KEY\"\n export API_SECRET=\"MY_API_SECRET\"\n python setup.py test\n\n\nContributing\n============\n\nMaking API changes\n------------------\n\n#. Make changes to ``spec/api.yaml``\n#. Run ``make swagger-generate``\n#. Make changes to ``phaxio/api.py`` as necessary\n#. Update documentation if necessary\n\n- ``docs/source/phaxio.rst`` will probably not require updates unless it's a very big change\n- ``docs/source/models.rst`` will require updates only if there are new model types\n\n\n.. _Phaxio API: https://www.phaxio.com/docs\n.. _full documentation: http://phaxio-python.readthedocs.io/en/latest/\n.. _Phaxio documentation: https://www.phaxio.com/docs\n.. _tests: tests/test_api.py\n.. |PyPI| image:: https://img.shields.io/pypi/v/phaxio.svg\n :target: https://pypi.python.org/pypi/phaxio\n.. |GitHub license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n :target: https://github.com/anpolsky/phaxio-python/blob/master/LICENSE", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/anpolsky/phaxio-python", "keywords": "python phaxio fax api", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "phaxio", "package_url": "https://pypi.org/project/phaxio/", "platform": "", "project_url": "https://pypi.org/project/phaxio/", "project_urls": { "Homepage": "https://github.com/anpolsky/phaxio-python" }, "release_url": "https://pypi.org/project/phaxio/0.3/", "requires_dist": null, "requires_python": "", "summary": "Python client for Phaxio v2 API", "version": "0.3" }, "last_serial": 3155394, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "b803d28a5f8047755faea9a90bf411b9", "sha256": "a39350b9263d5614f295c77ea23951d16a134557b3246806576bacb79afd2b8d" }, "downloads": -1, "filename": "phaxio-0.2.tar.gz", "has_sig": false, "md5_digest": "b803d28a5f8047755faea9a90bf411b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32195, "upload_time": "2017-01-13T05:34:17", "url": "https://files.pythonhosted.org/packages/0f/13/8d7b74355c8967ece41550b2531e8eb28f090187e1f4b62ffee58b4d1113/phaxio-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d937fa7a0f65c8c35004d9718753d10a", "sha256": "c2f316513249233cb2b84d17baa4c8424012833bdc9d78f555bf42249c45b5cf" }, "downloads": -1, "filename": "phaxio-0.3.tar.gz", "has_sig": false, "md5_digest": "d937fa7a0f65c8c35004d9718753d10a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32605, "upload_time": "2017-09-07T05:10:58", "url": "https://files.pythonhosted.org/packages/29/a8/9e2aafe668d9126173c6f8c97acb5b607140a0a8e59ae6becdbb37c87265/phaxio-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d937fa7a0f65c8c35004d9718753d10a", "sha256": "c2f316513249233cb2b84d17baa4c8424012833bdc9d78f555bf42249c45b5cf" }, "downloads": -1, "filename": "phaxio-0.3.tar.gz", "has_sig": false, "md5_digest": "d937fa7a0f65c8c35004d9718753d10a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32605, "upload_time": "2017-09-07T05:10:58", "url": "https://files.pythonhosted.org/packages/29/a8/9e2aafe668d9126173c6f8c97acb5b607140a0a8e59ae6becdbb37c87265/phaxio-0.3.tar.gz" } ] }