kickstarter-notifier

command module
v0.0.0-...-7137de7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2015 License: MIT Imports: 8 Imported by: 0

README

Kickstarter-Notifier

Interested in a Kickstarter project's rewards, but too indecisive to take the plunge? As you think about whether or not you'd like to back it, you can be notified of how many of the reward is left as others purchase it.

Running this project requires a few environment variables to be set up: TWILIO_SID````TWILIO_TOKEN````TWILIO_NUMBER````SEND_TO_NUMBER````PORT

TWILIO_SID and TWILIO_TOKEN are obtained by creating a Twilio account, which is used to send text messages through API calls. TWILIO_NUMBER is your Twilio phone number, and SEND_TO_NUMBER is your cell phone number. PORT is used to host the web server.

Example:

$ TWILIO_SID=<sid> TWILIO_TOKEN=<token> TWILIO_NUMBER=+11234567890 SEND_TO_NUMBER=+10987654321 PORT=3000 go run main.go

Scrapes are triggered by a GET request to /ping. This is due to what seems to be Heroku killing off goroutines after an hour. See https://github.com/thoughtpolice/heroku-ping for a worker that can ping your endpoint every so often.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/cascadia
The cascadia package is an implementation of CSS selectors.
The cascadia package is an implementation of CSS selectors.
_workspace/src/github.com/PuerkitoBio/goquery
Package goquery implements features similar to jQuery, including the chainable syntax, to manipulate and query an HTML document.
Package goquery implements features similar to jQuery, including the chainable syntax, to manipulate and query an HTML document.
_workspace/src/github.com/sfreiberg/gotwilio
Package gotwilio is a library for interacting with http://www.twilio.com/ API.
Package gotwilio is a library for interacting with http://www.twilio.com/ API.
_workspace/src/golang.org/x/net/html
Package html implements an HTML5-compliant tokenizer and parser.
Package html implements an HTML5-compliant tokenizer and parser.
_workspace/src/golang.org/x/net/html/atom
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
_workspace/src/golang.org/x/net/html/charset
Package charset provides common text encodings for HTML documents.
Package charset provides common text encodings for HTML documents.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL