{ "info": { "author": "Tom Gaimann", "author_email": "tom.gaimann@outlook.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PushNotifier (V2) for Python\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pushnotifier.svg)\n[![PyPI version](https://badge.fury.io/py/pushnotifier.svg)](https://badge.fury.io/py/pushnotifier)\n![GitHub](https://img.shields.io/github/license/tomg404/pushnotifier-python.svg)\n\n[![Gitter](https://badges.gitter.im/pushnotifier/community.svg)](https://gitter.im/pushnotifier/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n![Codacy grade](https://img.shields.io/codacy/grade/c7eb50b6f38b48aca431fc576ff7eb29.svg)\n![GitHub repo size](https://img.shields.io/github/repo-size/tomg404/pushnotifier-python.svg)\n\nA python module to easily use the service of [PushNotifier](https://pushnotifier.de) in your python projects.\n\nSpecial thanks go to [@Logxn](https://github.com/Logxn).\n\n## About\nEasily send\n\n- messages \u2709\ufe0f\n- urls \ud83c\udf0e\n- images \ud83d\uddbc\ufe0f\n\nvia python to all your devices. For more info visit [pushnotifier.de](https://pushnotifier.de)\n\n## Installation\n**Note: you have to have `requests` installed (`pip install requests`)**\n- Install PushNotifier via pip\n ```console\n $ pip install pushnotifier\n ```\n\n- Install PushNotifier manually\n ```console\n $ git clone https://github.com/tomg404/pushnotifier-python\n $ cd /path/to/repository/\n $ python setup.py install\n ```\n\n## Usage\n```python\nfrom pushnotifier import PushNotifier as pn\n\npn = pn.PushNotifier('username', 'password', 'package_name', 'api_key')\n```\n\n### Sending messages\n```python\n>>> pn.send_text('hello world', silent=False, devices=['abcd', 'efgh'])\n>>> pn.send_url('https://www.example.com', silent=False, devices=['abcd', 'efgh'])\n>>> pn.send_notification('hello world', 'https://www.example.com', silent=False, devices=['abcd', 'efgh'])\n\n>>> # Note on send_image: currently you can't send images to android/ios devices\n>>> pn.send_image('path/to/image.png', silent=False, devices=['abcd', 'efgh'])\n```\n\n### Get Basic information\n```python\n>>> password = 'XXXXX'\n>>> pn.login(password)\n{'username': 'username', 'avatar': 'https://gravatar.com/avatar/XXXXX', 'app_token': 'XXXXX', 'expires_at': XXXXX}\n\n>>> pn.get_all_devices()\n['abcd', 'efgh', 'ijkl']\n```\n### Refresh app token\n```python\n>>> pn.refresh_token()\n'new_token'\n```\n\n### More detailed help\n```python\n>>> help(pn.some_method_you_need_help_on)\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/tomg404/pushnotifier-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pushnotifier", "package_url": "https://pypi.org/project/pushnotifier/", "platform": "", "project_url": "https://pypi.org/project/pushnotifier/", "project_urls": { "Homepage": "https://github.com/tomg404/pushnotifier-python" }, "release_url": "https://pypi.org/project/pushnotifier/1.2.2/", "requires_dist": null, "requires_python": "", "summary": "A python package for an easy use of the service from https://pushnotifier.de/", "version": "1.2.2" }, "last_serial": 5420065, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "645abb7c7cec6af88f540612c5eb935b", "sha256": "1d11876072b08030e0ab8b12c82cdd356f5f130ff56039e0f1d46f525aa07974" }, "downloads": -1, "filename": "pushnotifier-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "645abb7c7cec6af88f540612c5eb935b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4277, "upload_time": "2019-06-04T16:27:20", "url": "https://files.pythonhosted.org/packages/fa/97/a3ea8b831ad5cdf66d9b46956f07d4fdaf791d8ad62a40e9590c3bb68d16/pushnotifier-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "55acdd31f0c99c2a10bb31baee7900e3", "sha256": "958df7ba3d2c2d6df738a4684f1ae6ffd0b6c3aa2168d55c7b9138f8e2fde3e7" }, "downloads": -1, "filename": "pushnotifier-1.0.0.tar.gz", "has_sig": false, "md5_digest": "55acdd31f0c99c2a10bb31baee7900e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2729, "upload_time": "2019-06-04T16:27:22", "url": "https://files.pythonhosted.org/packages/57/2b/ebb9b29b046e5fc6d5334ae5da711ec8a71ebfa4d5e4d4aa1c3dda0c3b3f/pushnotifier-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0a9b80ac7216576875522382fa29b44e", "sha256": "e98a4455efdb9283a1f1d4548ba11147a488004c1043a8204c4bd2da8d39ec0e" }, "downloads": -1, "filename": "pushnotifier-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0a9b80ac7216576875522382fa29b44e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4309, "upload_time": "2019-06-04T18:23:55", "url": "https://files.pythonhosted.org/packages/da/b9/1639a1d0cd1a48b455b3095f87e1d0a39e68bfc8b9c92a545413b13f03d0/pushnotifier-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "958e5aae283892f651847640ed9304d4", "sha256": "44d2f7fb18d5b4463d1cc6110ec1d5d6a733c25f6e0dd2a35d94c090c2f89ed5" }, "downloads": -1, "filename": "pushnotifier-1.1.0.tar.gz", "has_sig": false, "md5_digest": "958e5aae283892f651847640ed9304d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2753, "upload_time": "2019-06-04T18:23:57", "url": "https://files.pythonhosted.org/packages/d8/d7/c6203eb9d9adccc01ac6171454566dd0724631b74dedd05062e19d30b04a/pushnotifier-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ca6e91f136588773b370aa37b42fe16f", "sha256": "220b649b1181dd6787355adea0adfe2c056d9b3f07245812ded58aac189a5c51" }, "downloads": -1, "filename": "pushnotifier-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ca6e91f136588773b370aa37b42fe16f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4316, "upload_time": "2019-06-05T18:38:10", "url": "https://files.pythonhosted.org/packages/84/5e/037ab39cff6fe2e3775d114ec7cb749497b20f2f1000c430a5e05e208050/pushnotifier-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7eb257c218132edfc214d5b7e0919155", "sha256": "deb266041c0dad017e3323e321dbb38f855b5a596c1694c89874c1cfe6fc52f4" }, "downloads": -1, "filename": "pushnotifier-1.1.1.tar.gz", "has_sig": false, "md5_digest": "7eb257c218132edfc214d5b7e0919155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2770, "upload_time": "2019-06-05T18:38:12", "url": "https://files.pythonhosted.org/packages/08/e3/61528ebe838d69f6dcd803b0dd827f091c4d14c48a07a931fb73c9b289c4/pushnotifier-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a5e96ade0550787d050153b8b5a6c480", "sha256": "73a5a663d8fc269d52924919fd63b04e2b6c1389dd25cba41a76bf983f60f61e" }, "downloads": -1, "filename": "pushnotifier-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a5e96ade0550787d050153b8b5a6c480", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4327, "upload_time": "2019-06-05T18:45:14", "url": "https://files.pythonhosted.org/packages/fe/7e/b57d1c12ec71ec0096e93a48405c8e1c6efef263b1571497f88048ef15ae/pushnotifier-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "874d43c880a09e7298b21c27f0243ce9", "sha256": "b77e232d051837e29dda1178cebdee5e028e1f83ff395ddc3801abed00addaca" }, "downloads": -1, "filename": "pushnotifier-1.1.2.tar.gz", "has_sig": false, "md5_digest": "874d43c880a09e7298b21c27f0243ce9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2773, "upload_time": "2019-06-05T18:45:15", "url": "https://files.pythonhosted.org/packages/69/04/ee0ce321c39e4800cce26a89925fe2d3a8ab743adfd3e3305d5e1b913ff1/pushnotifier-1.1.2.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "7b975acefbc164c94493aac2b4dcc542", "sha256": "e65a9925ecc5883d9175c81bb0414ec0768f5f7069ca9fc1ed74b7cfc97bfc56" }, "downloads": -1, "filename": "pushnotifier-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7b975acefbc164c94493aac2b4dcc542", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4610, "upload_time": "2019-06-18T17:15:06", "url": "https://files.pythonhosted.org/packages/c1/7f/3b773f6c18a105a473d93a82cafa3acb52153dda5d84533e6e2ab7df887d/pushnotifier-1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90a7991b111dc58f84b0851c142e30f5", "sha256": "eeda87a48efd9b084a4601fc1a47b15d0d14a36670a9ea42d23411b824b34125" }, "downloads": -1, "filename": "pushnotifier-1.2.tar.gz", "has_sig": false, "md5_digest": "90a7991b111dc58f84b0851c142e30f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3068, "upload_time": "2019-06-18T17:15:07", "url": "https://files.pythonhosted.org/packages/d9/7d/759b4a3668277440dcdebb8d12d3edd5ad284a5c1d7f60b5db4fe88da939/pushnotifier-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "0954ca945f5d8e7715487c84b72a57c6", "sha256": "12919e8abed372d31d637dead0fce92997102915f9edbfbdb067a8d62c71a2bc" }, "downloads": -1, "filename": "pushnotifier-1.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0954ca945f5d8e7715487c84b72a57c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5578, "upload_time": "2019-06-18T23:02:21", "url": "https://files.pythonhosted.org/packages/55/5b/0d47be12ec6527f5ec828c05bbf47f1d193d87a5fd9d4d29eaae7a2c70b7/pushnotifier-1.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf8ef732c90f27a882ee7486a07bd372", "sha256": "9241856cc4f21740ffd20610cba2add3594750fe33b8fefe3eb9068d5896b05a" }, "downloads": -1, "filename": "pushnotifier-1.2.1.tar.gz", "has_sig": false, "md5_digest": "bf8ef732c90f27a882ee7486a07bd372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3985, "upload_time": "2019-06-18T23:02:23", "url": "https://files.pythonhosted.org/packages/00/6e/345b2bdf3c1ed1715f6bfb4e601b7cdb54be0ba3dfd269fbe8b78500faf3/pushnotifier-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "ca146ae7b283d9c1b2292cb582ac5e7b", "sha256": "ba262994c0c827921cc7530fc271a28a9552d33149f19a6d1976f04611a4d919" }, "downloads": -1, "filename": "pushnotifier-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ca146ae7b283d9c1b2292cb582ac5e7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5616, "upload_time": "2019-06-19T12:37:34", "url": "https://files.pythonhosted.org/packages/e7/f6/68824632753144c44dda649b08a265703f8666ef780c7737aaff2bc16db6/pushnotifier-1.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a739c8d61f1fb087c64da1575613905c", "sha256": "fda5385d44c1a2c6eb4d5079ad4cf4867c55ad2a1ad6ebad1400e629ae53b9e1" }, "downloads": -1, "filename": "pushnotifier-1.2.2.tar.gz", "has_sig": false, "md5_digest": "a739c8d61f1fb087c64da1575613905c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4064, "upload_time": "2019-06-19T12:37:35", "url": "https://files.pythonhosted.org/packages/94/77/07315e2064095aabfece30fa2c4bf47cf2d8f784261b7cd69d6882eb1056/pushnotifier-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca146ae7b283d9c1b2292cb582ac5e7b", "sha256": "ba262994c0c827921cc7530fc271a28a9552d33149f19a6d1976f04611a4d919" }, "downloads": -1, "filename": "pushnotifier-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ca146ae7b283d9c1b2292cb582ac5e7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5616, "upload_time": "2019-06-19T12:37:34", "url": "https://files.pythonhosted.org/packages/e7/f6/68824632753144c44dda649b08a265703f8666ef780c7737aaff2bc16db6/pushnotifier-1.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a739c8d61f1fb087c64da1575613905c", "sha256": "fda5385d44c1a2c6eb4d5079ad4cf4867c55ad2a1ad6ebad1400e629ae53b9e1" }, "downloads": -1, "filename": "pushnotifier-1.2.2.tar.gz", "has_sig": false, "md5_digest": "a739c8d61f1fb087c64da1575613905c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4064, "upload_time": "2019-06-19T12:37:35", "url": "https://files.pythonhosted.org/packages/94/77/07315e2064095aabfece30fa2c4bf47cf2d8f784261b7cd69d6882eb1056/pushnotifier-1.2.2.tar.gz" } ] }