{ "info": { "author": "Filipe LA\u00cdNS", "author_email": "filipe.lains@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Communications", "Topic :: Internet", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Pre-processors" ], "description": ".. image:: https://github.com/FFY00/discord-github-release-notifier/raw/master/logo.png\n\n=======================\nDiscord Github Release Notifier\n=======================\n\n.. image:: https://img.shields.io/github/release/FFY00/discord-github-release-notifier.svg\n :alt: latest release\n :target: http://github.com/FFY00/discord-github-release-notifier/releases\n.. image:: https://img.shields.io/pypi/v/discord-github-release-notifier.svg\n :alt: latest release\n :target: https://pypi.org/project/discord-github-release-notifier/\n \nThis a fork of `femtopixel `_'s `Github Release Notifier `_ with the notifications adapted to Discord.\n\nInstallation\n------------\n\n.. code::\n\n pip3 install discord-github-release-notifier\n\nUsage\n-----\n\n.. code::\n\n usage: discord-github-release-notifier [-h] [--action {cron,subscribe,unsubscribe}]\n [--package PACKAGE] [--webhook WEBHOOK] [--uuid UUID]\n\n optional arguments:\n -h, --help show this help message and exit\n --action {cron,subscribe,unsubscribe}, -a {cron,subscribe,unsubscribe}\n Action to do (default: cron)\n --package PACKAGE, -p PACKAGE\n Github package name / url (required for\n subscribe/unsubscribe) - prints uuid on subscription\n --webhook WEBHOOK, -w WEBHOOK\n URL to your webhook (required for\n subscribe/unsubscribe)\n --uuid UUID, -u UUID UUID of your webhook (required for unsubscribe)\n\nExample\n~~~~~~~\n\nFirst, I register my webhook :\n\n.. code::\n\n discord github-release-notifier --action subscribe --webhook https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token} --package jaymoulin/google-music-manager\n\nan UUID is printed. this UUID will be required to unsubscribe the webhook.\n\nWhen `jaymoulin/google-music-manager` releases a new version, `https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}` will be called with the release details.\n\nFor this to happen, the system should check if a new version have been released.\nWe can do that by calling `discord-github-release-notifier` without any parameter or setting `--action` to `cron` (which is default).\n\nTo automate this process, we could add this process in a cronjob:\n\n.. code::\n\n (crontab -l ; echo \"0 0 * * * discord-github-release-notifier\") | sort - | uniq - | crontab -\n\nThis will check every day at midnight if new versions have been released.\n\nSubmitting bugs and feature requests\n------------------------------------\n\nBugs and feature request are tracked on GitHub\n\nAuthor\n------\n\nJay MOULIN jaymoulin+github-release-notifier@gmail.com See also the list of contributors which participated in this program.\nFilipe LA\u00cdNS filipe.lains@gmail.com (adaptatiion to discord)\n\nLicense\n-------\n\nDiscord Github Release Notifier is licensed under the MIT License", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/FFY00/diiscord-github-release-notifier/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "discord-github-release-notifier", "package_url": "https://pypi.org/project/discord-github-release-notifier/", "platform": "", "project_url": "https://pypi.org/project/discord-github-release-notifier/", "project_urls": { "Homepage": "http://github.com/FFY00/diiscord-github-release-notifier/" }, "release_url": "https://pypi.org/project/discord-github-release-notifier/1.0.1/", "requires_dist": null, "requires_python": ">=3", "summary": "Github Notifier", "version": "1.0.1" }, "last_serial": 4299591, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c4792c93a974832d8f02109752f5826a", "sha256": "65eadc31a806f7a28b883f11bcdd9016b2cb0ff3fa00bd749ce251439db2ebac" }, "downloads": -1, "filename": "discord_github_release_notifier-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c4792c93a974832d8f02109752f5826a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6713, "upload_time": "2018-06-13T22:06:49", "url": "https://files.pythonhosted.org/packages/4b/5a/c884a6c60eb832541c316179cc06bc94bfa09bba69453292182ecd81f56e/discord_github_release_notifier-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fd349d9e524c437e3165cd3c479c9b5", "sha256": "5904d80c9f0a37686da25710c30ddc54079067107e8630a597a8ccec272bada6" }, "downloads": -1, "filename": "discord_github_release_notifier-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4fd349d9e524c437e3165cd3c479c9b5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5254, "upload_time": "2018-06-13T22:06:50", "url": "https://files.pythonhosted.org/packages/0d/bb/79a6382910dd490cde129dff666beb2671e7c1612b881bf7c2fc42b5ffbe/discord_github_release_notifier-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3b5979e57c949e1f40556bdd02c44946", "sha256": "0364d08f9e2b0e28bb9f3390c0ed72bec31024760d4c155ae2a07eb5c12bd83f" }, "downloads": -1, "filename": "discord_github_release_notifier-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3b5979e57c949e1f40556bdd02c44946", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 38367, "upload_time": "2018-09-22T12:55:52", "url": "https://files.pythonhosted.org/packages/32/2d/1b210849582669937675558d483c0fd572a1236d3b9136b2830c52656dc6/discord_github_release_notifier-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b5979e57c949e1f40556bdd02c44946", "sha256": "0364d08f9e2b0e28bb9f3390c0ed72bec31024760d4c155ae2a07eb5c12bd83f" }, "downloads": -1, "filename": "discord_github_release_notifier-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3b5979e57c949e1f40556bdd02c44946", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 38367, "upload_time": "2018-09-22T12:55:52", "url": "https://files.pythonhosted.org/packages/32/2d/1b210849582669937675558d483c0fd572a1236d3b9136b2830c52656dc6/discord_github_release_notifier-1.0.1.tar.gz" } ] }