0.1.1 • Published 10 years ago

53cal-jp-scraper v0.1.1

Weekly downloads
27
License
MIT
Repository
github
Last release
10 years ago

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.