Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

comichron-data-urls

url builder for accessing https://github.com/comichron-data/api

comichron-data, comichron, comic

readme

comichron-data/urls

url builder for accessing https://github.com/comichron-data/api

Install

npm install comichron-data-urls --save

API

var urls = require('comichron-data-urls');

urls.titles()

Makes url for getting titles.

urls.byMonth(id)

Makes url for getting by-month data.

  • id - Comic id from titles response

urls.byIssue(id)

Makes url for getting by-issue data.

  • id - Comic id from titles response

urls.sourceData(year, month)

Makes url for getting source data.

  • year - 4 digit year. String or Number.
  • month - 1 or 2 digit month. January is 1. String or Number.

License

MIT

changelog

Change Log

All notable changes to this project will be documented in this file.

[1.0.0] - 2016-10-06

  • Initial impl