CalExporter

Build Status Code Climate Coverage Status

Export calendar data

Installation

Add this line to your application's Gemfile:

gem 'cal_exporter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cal_exporter

Usage

1 Copy Calender ID : Select calender > Calender setting

2 Type code below:

$ cal_exporter calender CALENDER_ID FILE_FORMAT SAVE_LOCATION 

Example code below :

$ cal_exporter calender engineyard.com_f0a3jqaqooc9r7kmk2hiblojgs@group.calendar.google.com jekyll ~/Desktop

$ tree
.
├── 2013-04-08-qaias4p.md
├── 2013-04-15-boenj2u.md
├── 2013-04-17-8m2aphs.md
├── 2013-04-20-fqmab6r.md
├── 2013-04-22-5itqrg3.md
├── 2013-04-23-eml2lv5.md
├── 2013-04-24-9jck6ib.md
├── 2013-04-26-go72sbm.md
...

TODO

  • Export as CSV
  • Export as JSON
  • Decide export one file or each event file

Contributing

  1. Fork it ( https://github.com/[my-github-username]/cal_exporter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request