{ "info": { "author": "Don Ramon / sthrnbeau", "author_email": "sthrnbeau94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Education", "Intended Audience :: Healthcare Industry", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP :: Indexing/Search", "Topic :: Multimedia :: Video" ], "description": "Python RedTube API Client\n=========================\n\nHere we go! I'd like to present simple module to access `RedTube API `_. That API has a few\nmethods to access their video library with external clients (such as this small piece of code). Only read access is\nprovided at this moment.\n\nSo, I'll show you one small example, how to use this cool library::\n\n from redtube import RedClient\n\n red = RedClient()\n # Getting top of the top... I think so :)\n collection = red.search()\n # Search method provides list like object of type RedCollection with video entries of type RedVideo.\n print type(collection)\n # You can show you total videos for current search and current page\n print collection.total, collection.page\n\n # Let's search banana, it's good choice for this search engine\n collection = red.search(query='banana', page=2)\n # As you can see, we can access next page by page parameter\n # Also you can access next page by calling next method from RedCollection instance\n collection = red.next()\n\n # You can access video entries by their internal ID\n first = red.by_id('1')\n # Or by some syntax sugar:\n first = red[1]\n print first # \n\n # RedVideo entries has many useful information about video, ie:\n print first.title, first.duration, first.url, first.player_url, first.embed\n # As you can see, we can access video streaming url for this client or generate video embed code\n\n # Also you can retrieve tag, category or star lists provided by RedTube\n categories, tags, stars = red.categories, red.tags, red.stars\n # This methods has internal cache, so you will do only one HTTP request for multi calls.\n\nThat's all, guys! Have a nice day!\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sthrnbeau/python3-redtube", "keywords": "redtube api client adult", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "python3-redtube", "package_url": "https://pypi.org/project/python3-redtube/", "platform": "", "project_url": "https://pypi.org/project/python3-redtube/", "project_urls": { "Homepage": "https://bitbucket.org/sthrnbeau/python3-redtube" }, "release_url": "https://pypi.org/project/python3-redtube/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "module to access RedTube API - updated to Python 3", "version": "0.5.0" }, "last_serial": 2876892, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "ee9ee6b55c06a707e747447dcf947dda", "sha256": "dfd282ea695906722e6e0c5bbb3e41b17d0cb364707f29b46ab7ea76145267ef" }, "downloads": -1, "filename": "python3-redtube-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ee9ee6b55c06a707e747447dcf947dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3815, "upload_time": "2017-05-16T00:58:56", "url": "https://files.pythonhosted.org/packages/10/83/e52d02e3ba7bae726a758aaef63c0405b59d6b70c714e27bdbec776930b8/python3-redtube-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee9ee6b55c06a707e747447dcf947dda", "sha256": "dfd282ea695906722e6e0c5bbb3e41b17d0cb364707f29b46ab7ea76145267ef" }, "downloads": -1, "filename": "python3-redtube-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ee9ee6b55c06a707e747447dcf947dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3815, "upload_time": "2017-05-16T00:58:56", "url": "https://files.pythonhosted.org/packages/10/83/e52d02e3ba7bae726a758aaef63c0405b59d6b70c714e27bdbec776930b8/python3-redtube-0.5.0.tar.gz" } ] }