{ "info": { "author": "Harley Thorne", "author_email": "harleyjthorne@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "A Python Buzzsprout class.\n=======\n## Prerequisites\n* Python 3.7 and above\n* A Buzzsprout account (and your API token)\n\n## Summary\nProvide an API Token and a Profile ID, to create a Buzzsprout object containing all episodes for that profile matching the given parameters. \n\n## Installation\n```\npip install buzzsprout\n```\n\n## Getting started\nInstantiate the Buzzsprout class.\n```\n$ from buzzsprout import Buzzsprout\n$ buzzsprout = Buzzsprout()\n```\n\nYou then pass your profile id and token into the **get** method. By default, this will pull all episodes:\n```\n$ buzzsprout.get('profileid='PROFILEID', token='TOKEN')\n```\n\n## Attributes\n- title\n- audio_url\n- episode_url\n- description\n- summary\n- artist\n- tags\n- published_at\n- episode_number\n- season_number\n\n## Filtering\nYou can currently filter by:\n- Date\n- Tag\n- Random\n\n(and these can be used in combination).\n\nTo return only episodes newer than 2019-03-01\n```\n$ recent_episodes = buzzsprout.get(profileid='PROFILEID', token='TOKEN', datefilter='2019-03-01')\n```\nTo return only episodes that contain the tag \"Interviews\"\n```\n$ interview_episodes = buzzsprout.get(profileid='PROFILEID', token='TOKEN', tagfilter='Interviews')\n```\nTo return one random episode from the results, use the random switch\n```\n$ random_episode = buzzsprout.get(profileid='PROFILEID', token='TOKEN', random=True)\n```\n\n## Things to note\nWeirdly, Buzzsprout's API does not return an episode URL. I have therefore implemented a *slightly* hacky solution which modifies the audio URL.\nBy default this URL will not use any custom URL's you have set. I have therefore implemented a workaround. If you pass in your custom URL, the **episode_url** property will be updated:\n```\n$ custom_url_episode = buzzsprout.get(profileid='PROFILEID', token='TOKEN', random=True, customurl='subdomain.example.com')\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/Harrtron/buzzsprout-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "buzzsprout", "package_url": "https://pypi.org/project/buzzsprout/", "platform": "", "project_url": "https://pypi.org/project/buzzsprout/", "project_urls": { "Homepage": "https://github.com/Harrtron/buzzsprout-python" }, "release_url": "https://pypi.org/project/buzzsprout/0.22/", "requires_dist": null, "requires_python": "", "summary": "Buzzsprout Podcasts Python class", "version": "0.22" }, "last_serial": 5202240, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "820edb567ca4420c29bfc26d54612a11", "sha256": "99a5fdd7c508dcade22b318fc970cc4778b56c08ab3fc6f65a0b6c8c96653676" }, "downloads": -1, "filename": "buzzsprout-0.1.tar.gz", "has_sig": false, "md5_digest": "820edb567ca4420c29bfc26d54612a11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1966, "upload_time": "2019-04-26T14:22:07", "url": "https://files.pythonhosted.org/packages/c6/3d/5e5adcd1171370409ca92fa5253a8c2bb13dfa8fae250be392e0c62bb2c5/buzzsprout-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b977c4b8dca33884be71be059aca5102", "sha256": "e0851fe0d0e63f4b984a952f82ebddb2c0b2babf21a84a64b6313b284fdc1cad" }, "downloads": -1, "filename": "buzzsprout-0.2.tar.gz", "has_sig": false, "md5_digest": "b977c4b8dca33884be71be059aca5102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2733, "upload_time": "2019-04-26T16:36:21", "url": "https://files.pythonhosted.org/packages/70/5e/909daa34ae2a35ea43c3a70128d2ec16fa1e89d85c32a9f7d71f1f377601/buzzsprout-0.2.tar.gz" } ], "0.21": [ { "comment_text": "", "digests": { "md5": "c45c3e9cf9d323a5f0edeccaa435aadc", "sha256": "8e005eb8e0d6dcea48ed4da56d35414950a7230b7d848d25b7a9542dcf39d291" }, "downloads": -1, "filename": "buzzsprout-0.21.tar.gz", "has_sig": false, "md5_digest": "c45c3e9cf9d323a5f0edeccaa435aadc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3054, "upload_time": "2019-04-26T16:39:24", "url": "https://files.pythonhosted.org/packages/31/7e/01c7fc371504754cf330a9865a446a369561a671cf93b1603dbcb1106e10/buzzsprout-0.21.tar.gz" } ], "0.22": [ { "comment_text": "", "digests": { "md5": "817fb07a695de3c1e74b1559fa881ad4", "sha256": "f271c3317bb729260a5f236f28ae68af89c64a76d26d2f4d42aa6c42f9dd2615" }, "downloads": -1, "filename": "buzzsprout-0.22.tar.gz", "has_sig": false, "md5_digest": "817fb07a695de3c1e74b1559fa881ad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2998, "upload_time": "2019-04-29T08:45:06", "url": "https://files.pythonhosted.org/packages/98/28/0fe07b056d179f19a53d1491146b1895fc6809e0a642ef1cfb204c84d463/buzzsprout-0.22.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "817fb07a695de3c1e74b1559fa881ad4", "sha256": "f271c3317bb729260a5f236f28ae68af89c64a76d26d2f4d42aa6c42f9dd2615" }, "downloads": -1, "filename": "buzzsprout-0.22.tar.gz", "has_sig": false, "md5_digest": "817fb07a695de3c1e74b1559fa881ad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2998, "upload_time": "2019-04-29T08:45:06", "url": "https://files.pythonhosted.org/packages/98/28/0fe07b056d179f19a53d1491146b1895fc6809e0a642ef1cfb204c84d463/buzzsprout-0.22.tar.gz" } ] }