{ "info": { "author": "Patrick Carey", "author_email": "paddy@wackwack.co.uk", "bugtrack_url": null, "classifiers": [ "Environment :: No Input/Output (Daemon)", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Multimedia :: Sound/Audio :: Players" ], "description": "****************************\nMopidy-Webhooks\n****************************\n\n.. image:: https://img.shields.io/pypi/v/Mopidy-Webhooks.svg?style=flat\n :target: https://pypi.python.org/pypi/Mopidy-Webhooks/\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/dm/Mopidy-Webhooks.svg?style=flat\n :target: https://pypi.python.org/pypi/Mopidy-Webhooks/\n :alt: Number of PyPI downloads\n\n.. image:: https://img.shields.io/travis/paddycarey/mopidy-webhooks/master.png?style=flat\n :target: https://travis-ci.org/paddycarey/mopidy-webhooks\n :alt: Travis CI build status\n\n.. image:: https://img.shields.io/coveralls/paddycarey/mopidy-webhooks/master.svg?style=flat\n :target: https://coveralls.io/r/paddycarey/mopidy-webhooks?branch=master\n :alt: Test coverage\n\n\nMopidy-Webhooks is a frontend extension for mopidy that sends webhook requests (regular JSON over HTTP POST requests) to a remote server. Mopidy-Webhooks sends a webhook any time mopidy core triggers an event, and also periodically sends player status updates to the remote server.\n\nThis is very much a work in progress. Please treat it as such and file issues where appropriate.\n\n\nInstallation\n============\n\nInstall by running::\n\n pip install Mopidy-Webhooks\n\n\nConfiguration\n=============\n\nBefore starting Mopidy, you must add configuration for Mopidy-Webhooks to your Mopidy configuration file::\n\n [webhooks]\n api_key = my-api-key ; optional\n api_key_header_name = X-MOPIDY-WEBHOOKS-API-KEY ; optional\n status_update_interval = 5 ; optional\n webhook_url = http://localhost:8080/api/webhooks/ ; required\n\n``api_key`` if present, will be sent as a HTTP header using the key ``X-API-KEY``. If you'd rather use a different header name, this can be customised with the configuration value ``api_key_header_name``.\n\n``status_update_interval`` controls the interval between the sending of status update webhooks (in milliseconds). Set to `0` to disable the sending of periodic status updates. If you want continuous status updates, just use a very very small value.\n\n``webhook_url`` should be a URL (accessible to the mopidy client). The provided URL should accept HTTP POST requests, the body of which will contain JSON data. Requests will contain either periodic status updates (currently active track, playback state and time position) or JSON serialised event data emitted by Mopidy core.\n\n\nProject resources\n=================\n\n- `Source code `_\n- `Issue tracker `_\n- `Download development snapshot `_\n\n\nChangelog\n=========\n\nv0.2.0\n----------------------------------------\n\n- General refactoring\n- Small docs improvements\n\n\nv0.1.0\n----------------------------------------\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paddycarey/mopidy-webhooks", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "Mopidy-Webhooks", "package_url": "https://pypi.org/project/Mopidy-Webhooks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Mopidy-Webhooks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/paddycarey/mopidy-webhooks" }, "release_url": "https://pypi.org/project/Mopidy-Webhooks/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Mopidy extension that sends webhook notifications to a remote server", "version": "0.2.0" }, "last_serial": 1293309, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b4e696a0d7996d39f9509f6b9d6d5365", "sha256": "711cf83feaa73638952209c02fa71e729ca14a33057622f4ca82309b6217cf00" }, "downloads": -1, "filename": "Mopidy-Webhooks-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b4e696a0d7996d39f9509f6b9d6d5365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9070, "upload_time": "2014-11-02T23:26:15", "url": "https://files.pythonhosted.org/packages/bf/76/ed2fec87e9c276f1c5b8e57604762ac3aca1397b8fb1663380019161d0e6/Mopidy-Webhooks-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "33b8c1c8af0b0ddf655856e7f2064eb8", "sha256": "10ded77f5fad2ad3e222786190b6634dabc4295d40d04fe456cf220f6ee9a7be" }, "downloads": -1, "filename": "Mopidy-Webhooks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "33b8c1c8af0b0ddf655856e7f2064eb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9155, "upload_time": "2014-11-03T21:59:20", "url": "https://files.pythonhosted.org/packages/79/24/ee168ae16dff82b4003172533e78f1b0714defff4030b7b6b4ea532319bf/Mopidy-Webhooks-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "33b8c1c8af0b0ddf655856e7f2064eb8", "sha256": "10ded77f5fad2ad3e222786190b6634dabc4295d40d04fe456cf220f6ee9a7be" }, "downloads": -1, "filename": "Mopidy-Webhooks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "33b8c1c8af0b0ddf655856e7f2064eb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9155, "upload_time": "2014-11-03T21:59:20", "url": "https://files.pythonhosted.org/packages/79/24/ee168ae16dff82b4003172533e78f1b0714defff4030b7b6b4ea532319bf/Mopidy-Webhooks-0.2.0.tar.gz" } ] }