marvel api客户端和可能的cli

marvelapi的Python项目详细描述



代码:ipython3

代码::ipython3

client=marvelclient("http://gateway.marvel.com"、"<;api_key>;"、"<;api_secrel>;")

代码::ipython3



…代码::ipython3







解析文本:

{'代码':200,
'状态':'确定',
'版权':'?2018惊奇漫画',
'属性文本':'惊奇漫画提供的数据。©2018惊奇漫画',
'属性html':'<;a href="http://marvel.com">;惊奇漫画提供的数据。版权所有©2018 Marvel<;/a>;',
"ETag":"0ee715261c97423ba6caa142956a1194d5ad3d66",
"数据":{"偏移量":0,
"限制":20,
"总计":1,
"计数":1,
"结果":[{id':16246,
"数字标识":0,
"标题":cap transport(2005),"issuenumber":7,
"variantdescription":",
"description":无,
"modified":"-0001-11-30t00:00-0500",
"isbn":",
"upc":",
"diamondcode":",
"ean":",
"issn":",
"format":":'漫画',
'页面计数':0,
'文本对象':[],
'资源uri':'http://gateway.marvel.com/v1/public/comics/16246',
'网址':[{'类型':'详细信息',
'网址':'http://marvel.com/comics/issue/16246/cap嫒transport嫒2005嫒7?utm_campaign=apiref&utm_source=a1b984315df89963191b79f350c37f60'},
系列:{'resourceuri':'http://gateway.marvel.com/v1/public/series/2722',
名称:'cap transport(2005-2006)},
变体:[],
集合:[],
集合问题es':[],
日期':[{type':'onsaledate','date':'2029-12-31t00:00-0500'},
{type':'focdate','date':'-0001-11-30t00:00-0500'},
价格':[{type':'printprice','price':0},
'缩略图':{'path':'http://i.annihil.us/u/prod/marvel/i/mg/b/40/图像不可用,
"扩展名":"jpg"},
"图像":[],
"创建者":{"可用":9,
"集合uri":"http://gateway.marvel.com/v1/public/comics/16246/creators",
"项目":[{"资源uri":"http://gateway.marvel.com/v1/public/creators"rs/2133,
名称:'tom brevoort',
角色:'editor'},
{resourceuri':'http://gateway.marvel.com/v1/public/creators/5248',
名称:'molly lazer',
角色:'editor'},
{resourceuri':'http://gateway.marvel.com/v1/ppublic/creators/4371',
名称:'andy schmidt',
角色:'editor',
{resourceuri':'http://gateway.marvel.com/v1/public/creators/367',
名称:'ed brubaker',
角色:'writer',
{resourceuri':'http://gateway.marvel.com/v1/public/creators/7129,
名称:'虚拟书法',
角色:'莱特',
{resourceuri':'http://gateway.marvel.com/v1/public/creators/8635',
名称:'vc randy gentile',
角色:'莱特',
{resourcerceuri':'http://gateway.marvel.com/v1/public/creators/8504',
'name':'frank d'armata',
'role':'colorist'},
{'resourceuri':'http://gateway.marvel.com/v1/public/creators/374',
'name':'steve epting',
'role':'penciler'},
{'resourceuri':'http://gateway.marvel.com/v1/public/creators/127',
'name':'john paul leon',
'role':'penciler'},
'returned':9},
'characters':{'available':4,
'collectionuri':'http://gateway.marvel.com/v1/public/comiCS/16246/字符',
'项目':[{'resourceuri':'http://gateway.marvel.com/v1/public/chara字符/1009220',
"名称":"美国队长"},
{resourceuri':"http://gateway.marvel.com/v1/public/characters/1009475",
"名称":"nomad"},
{resourceuri':"http://gateway.marvel.com/v1/public/characters/1009565",
"名称":"天灾"'},
{resourceuri':'http://gateway.marvel.com/v1/public/characters/1010791',
'name':'sub mariner'},
'返回:4},
'stories':{'available':3,
'collectionuri':'http://gateway.marvel.com/v1/public/comics/16246/stories',
'items':[{resourceuri':'http://gateway.marvel.com/v1/public/stories/34018',
'name':'cover'34018',
'type':'cover'},
{resourceuri':'http://gateway.marvel.com/v1/public/stories/34019',
'name':'The lonesome death of jack monroe','
"type":"interiorStory"},
{"resourceUri":"http://gateway.marvel.com/v1/public/stories/34020",
"name":"freedom of speech",
"type":"letters"},
"returned":3},
"events":{"available":0,
"collectionUri"":"http://gateway.marvel.com/v1/public/comics/16246/events",
‘items’:[],
‘returned’:0}}}]}


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

推荐PyPI第三方库


热门话题
Linux的java字符串命令   java parseInt和viewflipper布局问题   java正则表达式来平衡括号   mysql与数据库的Java连接   java将JFreeChart系列名称映射到系列索引   多线程如何使用信号量在Java中对哲学家进行编码?   oop特殊变量“this”如何准确地知道在JAVA程序中引用哪个对象?   Android上的java getType   当前值/单元格POI上的java Excel公式   代码中有错误(java.awt.image.RasterFormatException)   java改造2,参数转换   未找到java JSF 2 Ajax属性   JAVArmi。服务器在OpenJDK 8中,useCodebaseOnly默认为true   java如何用final实现静态?   对付Java语法冗长的最佳IDE宏工具?   java@Transactional不回滚