-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
I have had this idea for a while and figured I would act on it but still haven't due to barrier to entry of learning ruby. Anyway, here it goes:
The Clipper card is a multi-transit system paycard for the SF Bay Area. The system has an autoload feature but it only works when the balance goes below $10.
The basic idea is to create an agent which:
- Monitors balance for threshold
- When below threshold, auto-deposit pre-defined amount
- Bonus: Could track daily transit usage
- Bonus: There is a delay of up to 5 days when depositing online, Huginn could be smart and pre-determine when the threshold will be reached and deposit 5 days early
This is a little short sighted as it only applies to the Bay Area but it probably could serve a nice boilerplate for other transit systems.
As far as implementation goes, some options are scripted purely in Ruby (depends how much AJAX happens on page), scripted via PhantomJS, or we create an API wrapper for Clipper and hit that.
Reactions are currently unavailable