API wrapper for Marvel Comics
Marvel is an API wrapper for Marvel's Comics API
This is a new version of the library where the API is a bit clearer about what you're searching for.
npm install marvel
var Marvel = require'marvel'var marvel = publicKey: "<pubKey>" privateKey: "<privateKey>"marvelcharactersname"Hulk"getif err console.log"Error: " errelse console.logresp
This new version of the Marvel library tries to make it easier to form queries.
Searchs for the character named,
Searches for characters whose name begins with
Looks only for comics whose issue number match
Returns results only after
num matches have occurred
Orders the returning JSON by the field
str. If a minus sign (-) is in front of the
str, then it orders in descending order
Limits results to comic series that started in the year