{ "info": { "author": "Adam Lowry", "author_email": "adam@urbanairship.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "About\n=====\n\n``urbanairship3`` is a Python library for using the `Urban Airship\n`_ web service API for push notifications and rich\napp pages. This is a fork of original ``urbanairship`` with Python 3 support.\n\n**Why fork?** Primarily for publishing Python 3 compatible version at PyPi for easier install.\n\nInstall\n=======\n\n pip install urbanairship3\n\nRequirements\n============\n\nAs of version 0.6, Python 2.6+ or 3.3+ is required.\n\nFunctionality\n=============\n\nVersion 0.6 is a major upgrade, focusing on support for the new version 3 push\nAPI. There has also been a major reorganization of the codebase.\n\n* device token registration\n* basic push\n* registering and pushing with tags\n* broadcast\n* feedback service\n* device token deactivation (deregistration)\n* device token listing\n* rich push\n* scheduled notifications\n\nUsage\n=====\n\nSee the `full documentation\n`_, as well as the\n`Urban Airship API Documentation\n`_.\n\nSimple iOS Push\n---------------\n\n >>> import urbanairship as ua\n >>> airship = ua.Airship('application_key','master_secret')\n >>> push = airship.create_push()\n >>> push.audience = ua.or_(ua.alias('adam'), ua.device_token('some_token'))\n >>> push.notification = ua.notification(alert='Hello')\n >>> push.device_types = ua.all_\n >>> push.send()\n\nBroadcast to iOS, Android, and BlackBerry devices\n-------------------------------------------------\n >>> push = airship.create_push()\n >>> push.audience = ua.all_\n >>> push.notification = ua.notification(\n ... ios=ua.ios(alert='Hello iOS'),\n ... android=ua.android(alert='Hello Android'),\n ... blackberry=ua.blackberry(alert='Hello BlackBerry'))\n >>> push.device_types = ua.device_types('ios', 'android', 'blackberry')\n >>> push.send()\n\nSending a rich app page to a single iOS device\n----------------------------------------------\n >>> import urbanairship\n >>> airship = urbanairship.Airship('application_key','master_secret')\n >>> push = airship.create_push()\n >>> push.audience = ua.device_token('some_token')\n >>> push.notification = ua.notification(alert='Hello')\n >>> push.device_types = ua.device_types('ios')\n >>> push.message = ua.message(\n ... \"Hello, Rich Push User\",\n ... \"

Hello!

Goodbye.

\")\n >>> push.send()\n\nQuestions\n=========\n\nThe best place to ask questions is our support site:\nhttp://support.urbanairship.com/\n\nHistory\n=======\n\n* 0.1 Initial release\n* 0.2 Added tags, broadcast, feedback\n* 0.3 Added deregister, device token list, other minor improvements\n* 0.4 Added batch push\n* 0.5 Added Android, Blackberry, Rich Push, and scheduled notifications\n* 0.6 Major refactoring, support for push api v3", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://urbanairship.com/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "urbanairship3", "package_url": "https://pypi.org/project/urbanairship3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/urbanairship3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://urbanairship.com/" }, "release_url": "https://pypi.org/project/urbanairship3/0.6.3/", "requires_dist": null, "requires_python": null, "summary": "Python package for using the Urban Airship API", "version": "0.6.3" }, "last_serial": 1109682, "releases": { "0.6.2": [ { "comment_text": "", "digests": { "md5": "10ea4f324ede4b9f7596985d90dcc7a1", "sha256": "34a42a1c766fad54ffdd98d5a2f0e21f14fbc2fde7f94dcfdc9bc7d4ecfcf31f" }, "downloads": -1, "filename": "urbanairship3-0.6.2.tar.gz", "has_sig": false, "md5_digest": "10ea4f324ede4b9f7596985d90dcc7a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12962, "upload_time": "2014-05-31T10:34:21", "url": "https://files.pythonhosted.org/packages/73/6e/28a1dd5ccda40969f8086cacd02fe9bd01ee076fc46489fda6c9cf96939d/urbanairship3-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "1e28890b0dde319d2118f7315e7621cb", "sha256": "f7c9206b58159cbb402d91597629ea929c34e70aec48146d1aa39222ce7085c7" }, "downloads": -1, "filename": "urbanairship3-0.6.3.tar.gz", "has_sig": false, "md5_digest": "1e28890b0dde319d2118f7315e7621cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15414, "upload_time": "2014-05-31T12:53:39", "url": "https://files.pythonhosted.org/packages/34/e8/d066a8f4a63bfe47745ee53faadf59c527e8927cb115397de365a32e76b5/urbanairship3-0.6.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e28890b0dde319d2118f7315e7621cb", "sha256": "f7c9206b58159cbb402d91597629ea929c34e70aec48146d1aa39222ce7085c7" }, "downloads": -1, "filename": "urbanairship3-0.6.3.tar.gz", "has_sig": false, "md5_digest": "1e28890b0dde319d2118f7315e7621cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15414, "upload_time": "2014-05-31T12:53:39", "url": "https://files.pythonhosted.org/packages/34/e8/d066a8f4a63bfe47745ee53faadf59c527e8927cb115397de365a32e76b5/urbanairship3-0.6.3.tar.gz" } ] }