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第三方库


热门话题
java RestTemplate到elasticsearch 6.7.0搜索>错误请求   java如何在OpenGL中对半透明三角形排序?   java如何将Pentaho6.0连接到HadoopHive   java更改图像视图大小   SQL查询在TOAD中运行良好,但在java代码中则不行   java需要根据事件发送HTTP请求   java HTMLUnit在javascript异常上挂起/无限循环   java阵列访问如何影响性能?   使用回滚时不引发异常的java事务测试方法   java如何在最近屏幕后返回到上一个活动   Java泛型函数返回声明   java从二进制文件读取   使用java泛型扩展接口还是糟糕的设计?   java是否将日历设置为特定日期?   java如何在鼠标悬停在一个矩形上时为其指定颜色?