{ "info": { "author": "Ahmet Kotan", "author_email": "ahmtkotan@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "yapi\n===================\n#### Python - Youtube Data API v3\n\n**yapi** is a simple client api for youtube.It uses [Youtube Data API v3](https://developers.google.com/youtube/v3/).Before you can use, you must a create project in [here](https://console.developers.google.com/apis/api/youtube/overview).\n\n## Installation\n``` \nsudo pip install yapi\n```\n\n## Using\n```python\nimport yapi\napi = yapi.YoutubeAPI('api_key')\n```\n\n## References\n```python\nvideo = api.get_video_info('video_id')\n\nresults = api.general_search('keyword', max_results=10)\nvideos = api.video_search('keyword', max_results=10, order=None)\nvideos = api.video_search_in_channel('keyword', 'channel_id', max_results=10, order=None)\n\nchannel = api.get_channel_by_name('channel_name')\nchannel = api.get_channel_by_id('channel_id')\n\nplaylist = api.get_playlist_by_id('playlist_id')\nplaylist = api.get_playlist_by_channel_id('channel_id')\n\nplaylistItems = api.get_playlist_items_by_playlist_id('playlist_id', max_results=20)\n\n# Special\napi_key = get_api_key()\nbool = change_api_key('api_key')\n```\n\n## Pagination\n```python\nresults = api.general_search('keyword', max_results=10, pageToken=PAGETOKEN)\nvideos = api.video_search('keyword', max_results=10, order=None, pageToken=PAGETOKEN)\nvideos = api.video_search_in_channel('keyword', 'channel_id', max_results=10, order=None, pageToken=PAGETOKEN)\nplaylistItems = api.get_playlist_items_by_playlist_id('playlist_id', max_results=20, pageToken=PAGETOKEN)\n```\n\n## Contributing\n[https://github.com/ahmetkotan/yapi](https://github.com/ahmetkotan/yapi)\n\n## Youtube Data API v3\n[Youtube Data API v3 Doc](https://developers.google.com/youtube/v3/)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.ahmetkotan.com.tr", "keywords": "youtube data api", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "yapi", "package_url": "https://pypi.org/project/yapi/", "platform": "", "project_url": "https://pypi.org/project/yapi/", "project_urls": { "Homepage": "http://www.ahmetkotan.com.tr" }, "release_url": "https://pypi.org/project/yapi/v1.3.1/", "requires_dist": null, "requires_python": "", "summary": "Python Youtube Data API v3", "version": "v1.3.1" }, "last_serial": 3858451, "releases": { "v1": [], "v1.1": [ { "comment_text": "", "digests": { "md5": "7fdfde49084f4d9fedca1d7fb9028f7e", "sha256": "00408a89f37bfe749edfb4ca951aacd62d32f0573808852e3f392fcde20fff3c" }, "downloads": -1, "filename": "yapi-v1.1.tar.gz", "has_sig": false, "md5_digest": "7fdfde49084f4d9fedca1d7fb9028f7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1981, "upload_time": "2016-08-28T00:52:47", "url": "https://files.pythonhosted.org/packages/ca/a2/2da0b5c2bddc389e9c5c5547b05f9211af647738f4ef1fed6442239d9812/yapi-v1.1.tar.gz" } ], "v1.1.1": [ { "comment_text": "", "digests": { "md5": "759c9280cc52db4cec9d2f4b218f3477", "sha256": "55032fbbfe35b3fb1960fb44cd2004c15dff66e9e6e43a67caa1e64d1e3da446" }, "downloads": -1, "filename": "yapi-v1.1.1.tar.gz", "has_sig": false, "md5_digest": "759c9280cc52db4cec9d2f4b218f3477", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2036, "upload_time": "2016-08-28T20:33:27", "url": "https://files.pythonhosted.org/packages/4f/40/69a1eecddabcd1a95a8b1d687dc9ce96b92946438c4a362bf123c0698192/yapi-v1.1.1.tar.gz" } ], "v1.2": [ { "comment_text": "", "digests": { "md5": "a90fd3ba670daf6edc2c1fa68380d5f1", "sha256": "239ed3f9d23210c1a0999bd2a3c9bb970c84866f9ff9867fd27ed6943aa08ee1" }, "downloads": -1, "filename": "yapi-v1.2.tar.gz", "has_sig": false, "md5_digest": "a90fd3ba670daf6edc2c1fa68380d5f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2092, "upload_time": "2016-08-30T22:20:57", "url": "https://files.pythonhosted.org/packages/40/e5/cd624d8e134305d8f922e2f39b11cc622e8f4c2049dbaabc1ba3677f6b6e/yapi-v1.2.tar.gz" } ], "v1.2.1": [ { "comment_text": "", "digests": { "md5": "e6e2a2e85def965312a3afe0aa21160c", "sha256": "367234482b21d20f8f7069ee740ec1bff0a813c851c8095d47c823a0d831f23b" }, "downloads": -1, "filename": "yapi-v1.2.1.tar.gz", "has_sig": false, "md5_digest": "e6e2a2e85def965312a3afe0aa21160c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2099, "upload_time": "2016-09-01T16:57:01", "url": "https://files.pythonhosted.org/packages/9a/07/0d1f1bf4cb1ddb6afae9cfcc652acabd496d7253e25287feef42bcf6d849/yapi-v1.2.1.tar.gz" } ], "v1.2.2": [ { "comment_text": "", "digests": { "md5": "fd365f4679c24c882fc73b287ab59ead", "sha256": "d754a3628590b58257ca823aa3b725c765797aa3add88b448a6b8091a973535a" }, "downloads": -1, "filename": "yapi-v1.2.2.tar.gz", "has_sig": false, "md5_digest": "fd365f4679c24c882fc73b287ab59ead", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2134, "upload_time": "2016-09-07T13:33:00", "url": "https://files.pythonhosted.org/packages/c7/13/b0de759410f0e09289737ae84ac1de2939a9fe1325be29e90533d04a64a9/yapi-v1.2.2.tar.gz" } ], "v1.3": [ { "comment_text": "", "digests": { "md5": "16a2f339bafdbe9612fbdca65469b8bd", "sha256": "2e2e121518323bbde5b3e5dc8635a8509ed0360c50c094028cdbf57804024b4a" }, "downloads": -1, "filename": "yapi-v1.3.tar.gz", "has_sig": false, "md5_digest": "16a2f339bafdbe9612fbdca65469b8bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2377, "upload_time": "2018-05-13T12:41:40", "url": "https://files.pythonhosted.org/packages/87/27/96ac78b3bc2a025e3b6713ba99bc5c33a93e15db1b69649acfa198dc2ad3/yapi-v1.3.tar.gz" } ], "v1.3.1": [ { "comment_text": "", "digests": { "md5": "b348945290ae9eee6c4e475db40c3fdc", "sha256": "212a529b3f8c47929368dee547886774868192fc3242ebfeaa698c8172543163" }, "downloads": -1, "filename": "yapi-v1.3.1.tar.gz", "has_sig": false, "md5_digest": "b348945290ae9eee6c4e475db40c3fdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2399, "upload_time": "2018-05-13T12:45:04", "url": "https://files.pythonhosted.org/packages/91/4a/f0cb0c1ba11f4eeee1b90b3d8ac20c094ae725743771bd8b467057efeafd/yapi-v1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b348945290ae9eee6c4e475db40c3fdc", "sha256": "212a529b3f8c47929368dee547886774868192fc3242ebfeaa698c8172543163" }, "downloads": -1, "filename": "yapi-v1.3.1.tar.gz", "has_sig": false, "md5_digest": "b348945290ae9eee6c4e475db40c3fdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2399, "upload_time": "2018-05-13T12:45:04", "url": "https://files.pythonhosted.org/packages/91/4a/f0cb0c1ba11f4eeee1b90b3d8ac20c094ae725743771bd8b467057efeafd/yapi-v1.3.1.tar.gz" } ] }