{ "info": { "author": "Fergus Longley", "author_email": "ferguslongley@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5" ], "description": "# Pocket-Casts\n[![Build Status](https://travis-ci.org/exofudge/Pocket-Casts.svg?branch=master)](https://travis-ci.org/exofudge/Pocket-Casts)\n[![Coverage Status](https://coveralls.io/repos/github/exofudge/Pocket-Casts/badge.svg?branch=master)](https://coveralls.io/github/exofudge/Pocket-Casts?branch=master)\n\nUnofficial Pocket Casts API writter in Python 3.\n## Installation\n```sh\n$ pip install pocketcasts-api\n```\nor clone repo and install from source\n```sh\n$ python setup.py install\n```\n\n## Usage\n```python\n>>> import pocketcasts\n>>> pocket = pocketcasts.Pocketcasts('user@email.com')\n# alternatively\n>>> pocket = pocketcasts.Pocketcasts('user@email.com', password='optional')\n```\n### Methods\n#### Summary\n- pocket. **get_top_charts()**\n- pocket. **get_featured()**\n- pocket. **get_trending()**\n- pocket. **get_episode(podcast, episode_uuid)**\n- pocket. **get_podcast(uuid)**\n- pocket. **get_podcast_episodes(podcast, sort)**\n- pocket. **get_episode_notes(episode_uuid)**\n- pocket. **get_subscribed_podcasts()**\n- pocket. **get_new_releases()**\n- pocket. **get_in_progress()**\n- pocket. **get_starred()**\n- pocket. **update_starred(podcast, episode, starred)**\n- pocket. **update_playing_status(podcast, episode, status)**\n- pocket. **update_played_position(podcast, episode, position)**\n- pocket. **subscribe_podcast(podcast)**\n- pocket. **unsubscribe_podcast(podcast)**\n- pocket. **search_podcasts(search_str)**\n\n#### get_top_charts()\nReturns the top charts currently on the pocketcasts website, as a list of Podcast classes\n```python\n>>> pocket = pocketcasts.Pocketcasts('user@email.com')\n>>> print(pocket.get_top_charts())\n[ (\n {'_media_type': 'Audio',\n '_uuid': '3782b780-0bc5-012e-fb02-00163e1b201c',\n '_description': '...',\n '_episodes_sort_order': 3,\n '_url': 'https://www.thisamericanlife.org',\n '_thumbnail_small': '',\n '_thumbnail_url': '...',\n '_author': 'This American Life',\n '_id': '',\n '_language': 'en',\n '_api': ,\n '_title': 'This American Life',\n '_categories': ['Society & Culture', 'Arts']}\n ), ...\n]\n```\n#### get_featured()\nReturns the featured podcasts currently on the pocketcasts website, as a list of Podcast classes\n```python\n>>> pocket = pocketcasts.Pocketcasts('user@email.com')\n>>> print(pocket.get_featured())\n[, ...]\n```\n#### get_trending()\nReturns the trending podcasts currently on the pocketcasts website, as a list of Podcast classes\n```python\n>>> pocket = pocketcasts.Pocketcasts('user@email.com')\n>>> print(pocket.get_trending())\n[, ...]\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/exofudge/Pocket-Casts", "keywords": "podcasts pocketcasts", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pocketcasts-api", "package_url": "https://pypi.org/project/pocketcasts-api/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pocketcasts-api/", "project_urls": { "Homepage": "https://github.com/exofudge/Pocket-Casts" }, "release_url": "https://pypi.org/project/pocketcasts-api/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Unofficial API for pocketcasts.com", "version": "0.2.2" }, "last_serial": 2682372, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "1e20b798e27104b74230b29fd39db086", "sha256": "eb4591785c2885ca36a73daf4c27f3df8e36203f01b6cfc58b8c83695fc9e7a2" }, "downloads": -1, "filename": "pocketcasts_api-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1e20b798e27104b74230b29fd39db086", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6546, "upload_time": "2017-02-23T17:46:19", "url": "https://files.pythonhosted.org/packages/e8/b7/f96b967b42157579a9090f342bf451e97d69e2b983bb345e2e328f374638/pocketcasts_api-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4862a196235a9effbabfaa00dece455", "sha256": "a8d632f571dd568c7450c5c5511e02df8191955a321b8c66b0df5aa84812060a" }, "downloads": -1, "filename": "pocketcasts-api-0.2.0.zip", "has_sig": false, "md5_digest": "f4862a196235a9effbabfaa00dece455", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7542, "upload_time": "2017-02-23T17:46:17", "url": "https://files.pythonhosted.org/packages/3c/c1/eaeb1647b181463c669177d04bf1edc603ef69ff56c5af06ee3b07c26ff8/pocketcasts-api-0.2.0.zip" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0c3be58ff62da2bc7fa61a2febfd1013", "sha256": "1fa9956040672c0a9d75544c10e02c2a3db03393949ab2f471759467bd488bdc" }, "downloads": -1, "filename": "pocketcasts-api-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0c3be58ff62da2bc7fa61a2febfd1013", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5088, "upload_time": "2017-03-04T15:05:24", "url": "https://files.pythonhosted.org/packages/4c/12/8e63490cd7ba27fc187237dc57dca1a9863310a4124bcfbf3e6263494898/pocketcasts-api-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c3be58ff62da2bc7fa61a2febfd1013", "sha256": "1fa9956040672c0a9d75544c10e02c2a3db03393949ab2f471759467bd488bdc" }, "downloads": -1, "filename": "pocketcasts-api-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0c3be58ff62da2bc7fa61a2febfd1013", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5088, "upload_time": "2017-03-04T15:05:24", "url": "https://files.pythonhosted.org/packages/4c/12/8e63490cd7ba27fc187237dc57dca1a9863310a4124bcfbf3e6263494898/pocketcasts-api-0.2.2.tar.gz" } ] }