7.0.0 • Published 3 years ago

@datafire/xkcd v7.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@datafire/xkcd

Client library for XKCD

Installation and Usage

npm install --save @datafire/xkcd
let xkcd = require('@datafire/xkcd').create();

.then(data => {
  console.log(data);
});

Description

Webcomic of romance, sarcasm, math, and language.

Actions

info.0.json.get

Fetch current comic and metadata.

xkcd.info.0.json.get(null, context)

Input

This action has no parameters

Output

comicId.info.0.json.get

Fetch comics and metadata by comic id.

xkcd.comicId.info.0.json.get({
  "comicId": 0
}, context)

Input

  • input object
    • comicId required number

Output

Definitions

comic

  • comic object
    • alt string
    • day string
    • img string
    • link string
    • month string
    • news string
    • num number
    • safe_title string
    • title string
    • transcript string
    • year string
7.0.0

3 years ago

6.0.0

6 years ago

5.0.0

6 years ago

4.0.0

6 years ago

3.0.0

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

0.0.3

7 years ago

0.0.1

7 years ago