ThetVDB API客户端(JSON)

tvdbapi_client的Python项目详细描述


https://readthedocs.org/projects/tvdbapi-client/badge/?version=latesthttps://travis-ci.org/shad7/tvdbapi_client.svg?branch=develophttps://coveralls.io/repos/shad7/tvdbapi_client/badge.svg?branch=develophttps://requires.io/github/shad7/tvdbapi_client/requirements.svg?branch=develop

用于thetvdb api(v1.2+)的python客户端,json格式的rest端点。

TVDB Api Client Documentation

功能

  • 提供与thetVDB API交互的客户端

用法

>>> import tvdbapi_client
>>> client = tvdbapi_client.get_client(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]
>>> from tvdbapi_client import api
>>> client = api.TVDBClient(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
使用jaxb2annotateplugin和XJC工具的java自定义注释   java组织。xeustechnologies。jcl无法加载WstxInputFactory类   java JUnit在格式化字符串上比较失败   java Bukkit配置部分getKeys   如何关闭Java流?   java Struts2正则表达式配置   链式事务注释的java奇怪行为   java在两个JButton之间使用变量   java签署APK时内容会发生什么变化?   java LWJGL:Slick:3D世界中的绘图字体   如何分解Java数组?   在Java MySql中处理多个过滤器   java如何在Firebase数据库中跳过初始OnChildaded事件触发   java如何在PreviewView中使用CameraX?   在子类#中重写父类后访问父类原始方法的java已解决   java找不到类型的属性   游戏框架游戏!框架+Java