node-marvel
v1.0.1
Published
A wrapper for the Marvel API
Downloads
4
Readme
Marvel Wrapper
This is a wrapper for the Marvel API that runs on Node.JS.
Available Features
Characters
- Comics
- Series
- Stories
- Events
Comics
- Characters
- Creators
- Events
- Stories
Creators
- Comics
- Events
- Series
- Stories
Events
- Characters
- Comics
- Creators
- Series
- Stories
Series
- Characters
- Comics
- Creators
- Events
- Stories
Stories
- Characters
- Comics
- Creators
- Events
- Series
Installation
npm i node-marvel
Usage
First of all it's necessary to instantiate the wrapper.
marvelClient = Marvel({
apiKey: <API_KEY>,
privateKey: <PRIVATE_KEY>
})
Calling resources
Basically to call any resource of the API it can be done by doing this:
const Marvel = require('marvel-wrapper')
Marvel.<api endpoint>.<api endpoint option>(args)
Detailed info is in RESOURCES