{ "info": { "author": "Bjoern Larsson", "author_email": "develop@bjornlarsson.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "pytvdbapi - A python API for thetvdb.com\n========================================\n|statusimage| |coverageimage| |pypiimage|\n\n**pytvdbapi** is a python API for thetvdb.com_ online database for tv-shows.\nThe API is designed to be as easy and intuitive as possible to use.\n\nThe API is designed to respect the functionality of thetvdb.com_ as far as\npossible.\n\nKey Features\n------------\n * A clean and easy to use interface\n * A well documented API\n * Support for Python 2.6, 2.7, 3.3 and 3.4\n * Thoroughly tested against all supported versions.\n\n\nDependencies\n============\n**pytvdbapi** depends on the following packages to function.\n\n * `httplib2 `_\n\nInstall\n=======\nThe easiest and recommended way to install **pytvdbapi** is to use pip_::\n\n $pip install pytvdbapi\n\nDepending on your platform, you may need root permission to execute the above\ncommands.\n\n\nArchLinux\n----------\nTobias R\u00f6ttger is kindly maintaining an ArchLinux package of **pytvdbapi** that\ncan be found `here `_.\n\nUsage\n=====\nTo use the API you should apply for an API key for your particular application.\nAn API key can be obtained for free from thetvdb.com_. These are some of the things you\ncan do with **pytvdbapi**.\n\nCreate a db instance::\n\n >>> from pytvdbapi import api\n >>> db = api.TVDB('B43FF87DE395DF56')\n\nSearch for a show name::\n\n >>> result = db.search('Dexter', 'en')\n >>> len(result)\n 1\n\n\nObtain a show instance and access the data::\n\n >>> show = result[0]\n >>> print(show.SeriesName)\n Dexter\n\n >>> len(show) # List the number of seasons of the show, season 0 is the specials season\n 9\n\nAccess individual seasons::\n\n >>> season = show[1]\n >>> len(season) # List the number of episodes in the season, they start at index 1\n 12\n >>> print(season.season_number)\n 1\n\nAccess an episode within the season::\n\n >>> episode = season[2]\n >>> print(episode.EpisodeNumber)\n 2\n >>> print(episode.EpisodeName)\n Crocodile\n\nDocumentation\n=============\nThe documentation for **pytvdbapi** is hosted at http://packages.python.org/pytvdbapi/ and there is a\nversion over at `Readthedocs `__.\n\nKnown Issues\n============\n * **pytvdbapi** only works with Python 2.6, 2.7, 3.3 and 3.4\n **NOT 3.0, 3.1 or 3.2**.\n * **pytvdbapi** does currently **NOT** support the use of Proxy Servers.\n\nBugs\n====\nIf you find any bug or want to request a new feature to the API, please use\nthe `issue tracker `_\nassociated with the project.\n\nTry to be as detailed as possible when filing a bug, preferably providing a\npatch or a test case illustrating the issue.\n\nContact\n=======\nTo get in contact with me, you can send me an email at\ndevelop@bjornlarsson.net or you can follow me on twitter\n`@fuzzycode `__\n\nLicense\n=======\n**pytvdbapi** is released under the `LGPL 3 `__ license. See the\nLICENSE.txt file for more details.\n\n\n\n\n.. |statusimage| image:: https://travis-ci.org/fuzzycode/pytvdbapi.png?branch=master\n :target: https://travis-ci.org/fuzzycode/pytvdbapi\n.. |coverageimage| image:: https://coveralls.io/repos/fuzzycode/pytvdbapi/badge.png\n :target: https://coveralls.io/r/fuzzycode/pytvdbapi\n.. |pypiimage| image:: https://pypip.in/v/pytvdbapi/badge.png\n :target: https://crate.io/packages/pytvdbapi/\n\n\n.. _thetvdb.com: http://thetvdb.com\n.. _PyPI: http://pypi.python.org/pypi\n.. _pip: https://pip.pypa.io/en/latest/index.html\n\nCHANGELOG\n=========\n\n2014-10-28, 0.5.0\n-----------------\n * Added find and filter functions to the Show and Season classes to allow searching for specific\n episodes.\n * Added get_episode_by_air_date function to search for an episode by air date for a given series\n * Update the get_episode function to allow downloading using *default*, *dvd* or *absolute* sort order.\n * Update the get_series function to allow getting a series using imdb id and zap2it id.\n * Speed up load times when downloading data\n * Use zip format for retrieving series data.\n * Bug fixes and code clean-up\n\n2013-11-22, 0.4.0\n-----------------\n * Removed support for Python 3.2\n * Improved unicode support\n * Improved compatibility with standard Python functions like *hasattr()* and *getattr()*\n * Show, Season, Episode, Actor and Banner instances can now be pickled\n * Added the get_episode() function to access an episode directly using the episode id.\n * Added the option *ignore_case* to be able to access the attributes in a case insensitive manner.\n * Added the *load_actors* and *load_banners* functions to load actors and banners on individual shows\n * Fixed broken unit tests and improved test stability\n * Bug fixes and code clean-up\n\n2012-06-29, 0.3.0\n-----------------\n * Added Actor objects to contain extended actor data\n * Added Banner objects to contain extended banner data\n * Added a get() function to access a show directly using the show id.\n * Updated the status to Alpha\n\n2012-04-16, 0.2.3\n-----------------\n * Fixed an issue with missing data folder in package\n\n2012-01-05, 0.2.2\n-----------------\n * Updated author name to avoid unicode issues\n * Improved the documentation\n\n2011-12-17, 0.2.1\n-----------------\n * Updated test coverage\n * Made the source code PEP8 and Pylint compatible\n * Updated documentation and prepared for PyPI release\n\n2011-12-07, 0.2.0\n-----------------\n * Updated to support Python 2.6, 2.7 and 3.2\n * Made the interfaces cleaner by using collections.Mapping\n\n2011-11-29, 0.1.1\n-----------------\n * Renamed the package to pytvdbapi to avoid any confusion with the official\n thetvdb.com service.\n * Updated the setup.py to use setuptools if available\n\n2011-11-28, 0.1.0\n-----------------\n * Initial alpha release of the package.", "description_content_type": null, "docs_url": "https://pythonhosted.org/pytvdbapi/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fuzzycode/pytvdbapi", "keywords": "TVDB thetvdb.com API tv episodes", "license": "LGPLv3", "maintainer": null, "maintainer_email": null, "name": "pytvdbapi", "package_url": "https://pypi.org/project/pytvdbapi/", "platform": "any", "project_url": "https://pypi.org/project/pytvdbapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fuzzycode/pytvdbapi" }, "release_url": "https://pypi.org/project/pytvdbapi/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "A clean, resource friendly and easy to use API for thetvdb.com", "version": "0.5.0" }, "last_serial": 1286227, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "eff63b4240e6913c5332fb16f8bfd868", "sha256": "4ca966e8fdc80f2bac76f5a06959d4330bb2f93e7eaed273bc6e94cf5dae3cee" }, "downloads": -1, "filename": "pytvdbapi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "eff63b4240e6913c5332fb16f8bfd868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93834, "upload_time": "2011-12-17T12:28:03", "url": "https://files.pythonhosted.org/packages/3a/18/5da109eb4b6d8d894975622aaced6834cbe8da9b2892ffb1544c0e9e8496/pytvdbapi-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "98ce34777ab22c2ccdc2e1c383f31d3d", "sha256": "2bbe974046546f861ae62127d01a9a8cb192522d1a7ffd1cf60137733ca03d11" }, "downloads": -1, "filename": "pytvdbapi-0.2.2.tar.gz", "has_sig": false, "md5_digest": "98ce34777ab22c2ccdc2e1c383f31d3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94126, "upload_time": "2012-01-05T20:30:39", "url": "https://files.pythonhosted.org/packages/90/6c/4ccab2bbdfc8fe039645232bce65a08685a192eb4c1d0befa1c09a2562ab/pytvdbapi-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "48b6f85723371950cdeaab8da90ee2c3", "sha256": "e9120cb73b1a838eb63b3c8da2273ab4f6b5c08592adaadb47aaf4efb3694b08" }, "downloads": -1, "filename": "pytvdbapi-0.2.3.tar.gz", "has_sig": false, "md5_digest": "48b6f85723371950cdeaab8da90ee2c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94570, "upload_time": "2012-04-19T21:49:55", "url": "https://files.pythonhosted.org/packages/46/85/6824bc5244fe74a09889cabdd256c76b87bfa9e70be8ec1eb9e09efc7ed9/pytvdbapi-0.2.3.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d5d61a4b0f09250c43d4cf90a0dd0e3e", "sha256": "ef44f12da236b168db7f21846c3cc35bd2c82853c3bfb522e032f458fa9c8861" }, "downloads": -1, "filename": "pytvdbapi-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d5d61a4b0f09250c43d4cf90a0dd0e3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102720, "upload_time": "2012-06-29T15:45:57", "url": "https://files.pythonhosted.org/packages/9a/49/80bd941681867f48d443dcc3942c8a262be3b61ea7ca04509c897e5af121/pytvdbapi-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "de971096019561741e0b45493bd3c6d2", "sha256": "d4ad337180c14d79822fa2852a3d3acbab6610c33e2304684fb9024ab892a7f6" }, "downloads": -1, "filename": "pytvdbapi-0.4.0.tar.gz", "has_sig": false, "md5_digest": "de971096019561741e0b45493bd3c6d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38436, "upload_time": "2013-11-22T13:20:24", "url": "https://files.pythonhosted.org/packages/97/f0/988a6102daaa7bf42e7bbd715c1976ebab95533eea97d79c60e4f6e8ee30/pytvdbapi-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "0c603d02270f957d9e3887c27854d2d5", "sha256": "2a190609b55763d8defafd2e64da08062bd7aab9e4bbc8dccd51c0268c66e2a4" }, "downloads": -1, "filename": "pytvdbapi-0.5.0.tar.gz", "has_sig": false, "md5_digest": "0c603d02270f957d9e3887c27854d2d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43119, "upload_time": "2014-10-28T20:27:46", "url": "https://files.pythonhosted.org/packages/22/52/b5e85b4c6d4d9e1cbc48e426f7be99c27f71f7fd6c258c3d690a2c6156c6/pytvdbapi-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c603d02270f957d9e3887c27854d2d5", "sha256": "2a190609b55763d8defafd2e64da08062bd7aab9e4bbc8dccd51c0268c66e2a4" }, "downloads": -1, "filename": "pytvdbapi-0.5.0.tar.gz", "has_sig": false, "md5_digest": "0c603d02270f957d9e3887c27854d2d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43119, "upload_time": "2014-10-28T20:27:46", "url": "https://files.pythonhosted.org/packages/22/52/b5e85b4c6d4d9e1cbc48e426f7be99c27f71f7fd6c258c3d690a2c6156c6/pytvdbapi-0.5.0.tar.gz" } ] }