53cal-jp-scraper

0.1.1 • Public • Published

53cal-jp-scraper

NPM version Build Status Dependency Status Coverage Status

Scrape the days of 53cal.jp

Install

$ npm install --save 53cal-jp-scraper

Usage

var GomiCalJp = require('../');
var scraper = GomiCalJp({city: '1130104', area: '1130104154'});
 
scraper.whatDate('2014-06-04', function(err, data){
  data = {
    meta: {
      city: '1130104',
      area: '1130104154',
      cityName: '東京都品川区',
      areaName: '南大井6丁目18番地(大森住宅)以外',
      link: 'http://www.53cal.jp/areacalendar/?city=1130104&area=1130104154&yy=2014&mm=6'
    },
    result: {
      '2014-06-04': '燃やすゴミ'
    }
  };
});

API

categories

dateAndCategoryInMonth

whatDate

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Release History

(Nothing yet)

License

Copyright (c) 2014 sanemat. Licensed under the MIT license.

Package Sidebar

Install

npm i 53cal-jp-scraper

Weekly Downloads

5

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sanemat