ExtraCare Reminders

Synopsis

This script will send CVS ExtraCare coupon reminders to OmniFocus, iCloud Reminders, Things for Mac, or DueApp. It includes SQLite database support for tracking previously imported coupons and will set task name, due date, start date, and a note

This script performs the following actions:

  • Logs into CVS mobile web
  • Scans the ExtraCare page for active coupons on your card/account
  • Checks coupons against the database for previously imported coupons
  • Sends every new coupon to the task manager of your choice

Usage

$ extracare2of
$ Looking for coupons...
$ ----
$  Title: 10% off skincare products
$  - Due Date: 8/10/2013
$  - Start Date: 8/1/2013
$  - Note: Reedemable in-store only

Installation

gem install extracare2of

Configuration

Config file is location at ~/.extracare2of/config/config.yml. Here you can change which todo manager you use.

    ---
:services:
  :use_omnifocus: true
  :use_reminders: false
  :use_things: false
  :use_dueapp: false

The first time you run extracare2of you will be prompted for a username and password. The session will then be serialized and stored in ~/.extracare2of/config/session.yml. Your password is not saved in plaintext. You will then be able to use this without having to log in again.

Todo

  • Parse ExtraBucks... I need to wait for CVS to send me some before I can figure out the right regular expression
  • Handle deals that require action, i.e., activate coupon via web

Note: This is for paper coupons only. The actual coupons are on your CVS receipts. This script merely sets reminders for you to use them.

Credits

This ruby script borrows some code from ttscoff's otask CLI OmniFocus gem.

License

Licensed under the MIT License