{ "info": { "author": "Infobip Ltd. - Plugins Team (SMS API client)", "author_email": "plugins@infobip.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Communications :: Telephony", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "\n\nInfobip API Python client\n============================\n\nRunning examples\n----------------\n\nWhen you clone the repository and before you start exploring the examples, be sure to execute the `setup.py` file with\nthe `python setup.py install`. This way you will set up all dependencies needed for the examples to run properly.\n\nThen, setup your username and password in `examples/__init__.py`.\nNow you can run provided examples in `examples` folder by running:\n\n python example.py deserialize_dr_example # provided argument is \n\nBasic messaging example\n-----------------------\n\nFirst, initialize the messaging client using your username and password:\n\n send_sms_client = send_single_textual_sms(Configuration(\"username\", \"password\"))\n\nPrepare the message:\n\n request = SMSTextualRequest()\n request.text = \"This is an example message\"\n request.to = [\"xxxxxxxx\", \"yyyyyyy\"]\n \nSend the message:\n\n response = send_sms_client.execute(request)\n\nLater you can query for the delivery status of the message:\n\n get_delivery_reports_client = get_sent_sms_delivery_reports(Configuration(\"username\", \"password\"))\n response = get_delivery_reports_client.execute({\"limit\": 5})\n\nMessaging with delivery report push to notification URL example\n-----------------------\n\nSimilar to standard messaging example, but when preparing your message, use `SMSAdvancedTextualRequest`:\n\n send_sms_client = send_multiple_textual_sms_advanced(Configuration(\"username\", \"password\"))\n \n dest = Destination()\n dest.message_id = \"message_111\"\n dest.to = \"number1aaa\"\n \n message = SMSData()\n message.text = \"This is an example message.\"\n message.notify_url = \"https://test.com/url_for_delivery_reports\"\n message.destinations = [dest]\n \n dest2 = Destination()\n dest2.message_id = \"message_222\"\n dest2.to = \"number2bbb\"\n \n message2 = SMSData()\n message2.text = \"This is an example message #2.\"\n message2.notify_url = \"https://test.com/url_for_delivery_reports_2\"\n message2.destinations = [dest2]\n \n request = SMSAdvancedTextualRequest()\n request.messages = [message, message2]\n \n response = send_sms_client.execute(request)\n\n\nWhen the delivery notification is pushed to your server as a HTTP POST request, you can process the body of the message\nwith the following code:\n\n delivery_status = reports = SMSReportResponse.from_JSON(http_body)\n\nLicense\n-------\n\nThis library is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/infobip/infobip-api-python-client", "keywords": "infobip", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "infobip-api-python-client", "package_url": "https://pypi.org/project/infobip-api-python-client/", "platform": "", "project_url": "https://pypi.org/project/infobip-api-python-client/", "project_urls": { "Homepage": "https://github.com/infobip/infobip-api-python-client" }, "release_url": "https://pypi.org/project/infobip-api-python-client/2.2.0/", "requires_dist": null, "requires_python": "", "summary": "Infobip SMS API client library in Python", "version": "2.2.0" }, "last_serial": 3654278, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "675d63afbcd3cb4e14096b2beee58598", "sha256": "d2f88b3f30b76ab19158a65d0bf832dd8cd6dec20b563f22737282a3ed7cd8d3" }, "downloads": -1, "filename": "infobip-api-python-client-0.0.2.tar.gz", "has_sig": false, "md5_digest": "675d63afbcd3cb4e14096b2beee58598", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18053, "upload_time": "2015-07-23T13:33:53", "url": "https://files.pythonhosted.org/packages/86/ea/8b2a905cbe5bf045afc582b5c5e1a1022a390559e3667d8d342b0b0a9f8f/infobip-api-python-client-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bbd055dc1e3ace4095d620fb89ea9e90", "sha256": "3e71ee9b9476762c66c1c69f25d6e95362bfadc14de5c2fd4b97bf948f61e423" }, "downloads": -1, "filename": "infobip-api-python-client-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bbd055dc1e3ace4095d620fb89ea9e90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18469, "upload_time": "2015-07-23T14:36:51", "url": "https://files.pythonhosted.org/packages/9c/f5/d05932ff1eeb635032b7f2396341cdd4752e2bbed8a97f811a494e376b21/infobip-api-python-client-0.0.3.tar.gz" } ], "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dc6704c2002768e8eb2bbe854abd1e07", "sha256": "f71ac6486f265747181fd305d52f68cec9a787a7914feb214aa4c2f1aa84d7b9" }, "downloads": -1, "filename": "infobip-api-python-client-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dc6704c2002768e8eb2bbe854abd1e07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18642, "upload_time": "2015-07-24T11:34:22", "url": "https://files.pythonhosted.org/packages/8d/85/f71e8053de42113767fef0cfb0dea0a291b15e7566c5dcd7fd6849649f02/infobip-api-python-client-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d58d20f40ff6e421570cf766ced64aec", "sha256": "66f482cbb7c9107fd959ca3af2e1dbe5f96e2ba6c5ea5a0e83171340d5c010f6" }, "downloads": -1, "filename": "infobip-api-python-client-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d58d20f40ff6e421570cf766ced64aec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18718, "upload_time": "2015-07-24T11:55:31", "url": "https://files.pythonhosted.org/packages/f4/c7/07c7f59f52149cdca71f4b63f5affc51ab386a858df70e0255971c317822/infobip-api-python-client-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a2779c13b77ac1c7c4bea451acb98b3a", "sha256": "f3098b6f46b8a632076b9f2fc48b8c04a4d800367502b60297517fe7af062015" }, "downloads": -1, "filename": "infobip-api-python-client-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a2779c13b77ac1c7c4bea451acb98b3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18182, "upload_time": "2015-07-24T12:06:49", "url": "https://files.pythonhosted.org/packages/26/c2/dab06ea26900f01f6080fe6648a4c76107dad476a7d93eb5b5316b56016f/infobip-api-python-client-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6304b309b0c34e50673c259d6c6a6efe", "sha256": "c1ceaf500542c85f26e494219a77cf2b66966fdbfc99903983c9fb28f10df98b" }, "downloads": -1, "filename": "infobip-api-python-client-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6304b309b0c34e50673c259d6c6a6efe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18174, "upload_time": "2015-07-24T12:25:15", "url": "https://files.pythonhosted.org/packages/a2/f6/68359b72e15fe985267e6ef9ce625d6d1130c3c8511f356713f45c5df9e6/infobip-api-python-client-0.3.0.tar.gz" } ], "1.1.0": [], "1.1.1": [ { "comment_text": "", "digests": { "md5": "62f3af01450692bcb056c05d3cbf3678", "sha256": "a188f5ba7213467db6de73d82095d19eb0ab876bdc27af900aa042bb045414a7" }, "downloads": -1, "filename": "infobip-api-python-client-1.1.1.zip", "has_sig": false, "md5_digest": "62f3af01450692bcb056c05d3cbf3678", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53155, "upload_time": "2016-12-02T14:08:17", "url": "https://files.pythonhosted.org/packages/c6/d7/377b64a832e76e745681b08f837c2261baab09190a6179e3d49e4f422221/infobip-api-python-client-1.1.1.zip" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "cfff0d17dc88fb458f34fd964529c0f9", "sha256": "9580bd5ae0479fc067903b1c5f7963d929bf463c7a73ce80346a5b80628e3327" }, "downloads": -1, "filename": "infobip-api-python-client-2.0.0.zip", "has_sig": false, "md5_digest": "cfff0d17dc88fb458f34fd964529c0f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53760, "upload_time": "2016-12-01T13:49:51", "url": "https://files.pythonhosted.org/packages/f9/1e/de020fae8aa75fc902ac3a4d536a21aef10bf569bc428766008345684be4/infobip-api-python-client-2.0.0.zip" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "54794ead64642bf9918a27285895d191", "sha256": "5e638265722ae4c95625e23c4bfa6224b54af833a5b307b47429075bcb3f3973" }, "downloads": -1, "filename": "infobip-api-python-client-2.1.0.zip", "has_sig": false, "md5_digest": "54794ead64642bf9918a27285895d191", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65140, "upload_time": "2017-10-30T14:36:30", "url": "https://files.pythonhosted.org/packages/c5/eb/9f51c27069d558d037058256ca32f865182233552e6963088d3b4ce736a6/infobip-api-python-client-2.1.0.zip" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "3450a457d3235aa58c6053bef6b8279a", "sha256": "50458a5bd3404da66ed025b7190ed0609858d2eff21b2ab9da6cdda82eca2731" }, "downloads": -1, "filename": "infobip-api-python-client-2.2.0.tar.gz", "has_sig": false, "md5_digest": "3450a457d3235aa58c6053bef6b8279a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32730, "upload_time": "2018-03-09T12:56:02", "url": "https://files.pythonhosted.org/packages/d8/b6/6f975e3e795643dc86b4c19cc57f1acdc04bea35f9613ce93ce4244bb645/infobip-api-python-client-2.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3450a457d3235aa58c6053bef6b8279a", "sha256": "50458a5bd3404da66ed025b7190ed0609858d2eff21b2ab9da6cdda82eca2731" }, "downloads": -1, "filename": "infobip-api-python-client-2.2.0.tar.gz", "has_sig": false, "md5_digest": "3450a457d3235aa58c6053bef6b8279a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32730, "upload_time": "2018-03-09T12:56:02", "url": "https://files.pythonhosted.org/packages/d8/b6/6f975e3e795643dc86b4c19cc57f1acdc04bea35f9613ce93ce4244bb645/infobip-api-python-client-2.2.0.tar.gz" } ] }