{ "info": { "author": "Alicia FLOREZ", "author_email": "alicflorez@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pydelivengo \n[![Build Status](https://travis-ci.org/alexandriagroup/pydelivengo.svg?branch=master)](https://travis-ci.org/alexandriagroup/pydelivengo)\n\npydelivengo is a Python library using the MyDelivengo API\n\n\n## Documentation\n\nPyDelivengo : https://alexandriagroup.github.io/pydelivengo/\n\nMyDelivengo (La Poste API documentation) : http://www.assistance-mydelivengo.fr/api/\n\nYou can find the list of parameters for each function into this\ndocumentation.\n\n## How to use\n\n```python\napi = PyDelivengo(api_authorization=\"your_mydelivengo_api_key\")\napi.get_user_info() # Get your user info\napi.get_envois() # get all your \"envois\"\napi.get_pli(11437479, print_pdf=True) # Get the \"pli\" with ID 11437479 and generate PDF to print\napi.get_depots(params={'date[from]':'30/11/2017'}) # Get the \"depots\" from November 30th\n```\n\n\nLooks to [MyDelivengo](http://www.assistance-mydelivengo.fr/api/documentation/) documentation to see all parameters.\n\n## Tools\n\n### Decode and save PDF from API\n\nAn example for decode and save the Base64 Encoded String return by the\nMyDelivengo API:\n\n```python\nimport os\nfrom base64 import decodebytes\n\nwith open(os.path.expanduser('path/test.pdf'), 'wb') as f:\n f.write(decodebytes(api_data.encode('ascii')))\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alexandriagroup/pydelivengo", "keywords": "api mydelivengo python3 webservices", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pydelivengo", "package_url": "https://pypi.org/project/pydelivengo/", "platform": "", "project_url": "https://pypi.org/project/pydelivengo/", "project_urls": { "Documentation": "https://alexandriagroup.github.io/pydelivengo/", "Homepage": "https://github.com/alexandriagroup/pydelivengo", "Source": "https://github.com/alexandriagroup/pydelivengo/archive/v1.4.tar.gz", "Travis": "https://travis-ci.org/alexandriagroup/pydelivengo" }, "release_url": "https://pypi.org/project/pydelivengo/1.4/", "requires_dist": null, "requires_python": "", "summary": "A lib to use MyDelivengo API", "version": "1.4" }, "last_serial": 4795825, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "464c584ee4864483c276b307e7084f42", "sha256": "5dc21645c571f2871253dd798c2dd3157fd3f1e7f0c7ad610d84ad4ebbce2a94" }, "downloads": -1, "filename": "pydelivengo-1.1.tar.gz", "has_sig": false, "md5_digest": "464c584ee4864483c276b307e7084f42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1576, "upload_time": "2018-02-27T14:24:17", "url": "https://files.pythonhosted.org/packages/4f/42/4b3b08003773bf9b3cf5eb299bdfa468d05d1151a3b74114adbb3de3b0bb/pydelivengo-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "519f854ebd626bc3888cb913bd462258", "sha256": "c41b36755fb8b30d115579cc88065a8616e6df66e6717f7b650ccfb31139a24d" }, "downloads": -1, "filename": "pydelivengo-1.2.tar.gz", "has_sig": false, "md5_digest": "519f854ebd626bc3888cb913bd462258", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3168, "upload_time": "2018-03-06T15:10:12", "url": "https://files.pythonhosted.org/packages/ac/cc/79a2419fca1a647ff280d8094bba59a2fc492ff57cd9b47424e1ee9f310f/pydelivengo-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "5356faf4c8877e7698097f73cb977172", "sha256": "2af72450ee4ef5e9c2372e1262932b13c07852c0f9ff2758d8f0f62e5809bf15" }, "downloads": -1, "filename": "pydelivengo-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "5356faf4c8877e7698097f73cb977172", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4467, "upload_time": "2018-10-22T14:38:17", "url": "https://files.pythonhosted.org/packages/0d/b3/c9ff3ce8e74deec143fd6d92484aaaedcd807273a9263c5cdfe40bcf6f3d/pydelivengo-1.3-py3-none-any.whl" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "3cd171d5fb433e9007b628c65d71a9b4", "sha256": "a57e06d91629a48607d5b08c4b0d9788cb19e61dfd94b991c67fb9b6c3ded95c" }, "downloads": -1, "filename": "pydelivengo-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "3cd171d5fb433e9007b628c65d71a9b4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5158, "upload_time": "2019-02-08T15:01:44", "url": "https://files.pythonhosted.org/packages/98/8d/49bc4342b2765dded0819e2248f01f0dd0b4e92061c70975f3d7b4840328/pydelivengo-1.4-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cd171d5fb433e9007b628c65d71a9b4", "sha256": "a57e06d91629a48607d5b08c4b0d9788cb19e61dfd94b991c67fb9b6c3ded95c" }, "downloads": -1, "filename": "pydelivengo-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "3cd171d5fb433e9007b628c65d71a9b4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5158, "upload_time": "2019-02-08T15:01:44", "url": "https://files.pythonhosted.org/packages/98/8d/49bc4342b2765dded0819e2248f01f0dd0b4e92061c70975f3d7b4840328/pydelivengo-1.4-py3-none-any.whl" } ] }