ThetVDB API客户端(JSON)
tvdbapi_client的Python项目详细描述
用于thetvdb api(v1.2+)的python客户端,json格式的rest端点。
功能
- 提供与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']}]