Narwhal Parade Maestro

    node-marvel

    1.0.1 • Public • Published

    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

    Keywords

    Install

    npm i node-marvel

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    14.3 kB

    Total Files

    13

    Last publish

    Collaborators

    • silvaedilson22