New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clipper agent #66
Comments
Hey @twolfson, that seems like an excellent usage for Huginn. Does Clipper have an API? If so, adding either a "Clipper Agent" or a more generic REST API Agent should be fairly easy to integrate with their API. If they don't have an API, you might have to fall back to scraping. Let me know how I can help! |
@twolfson Did you ever look into this more/implement anything? |
I started to reverse engineer their web interface but did not complete it due to slowless of current toolset. It is still on my TODO list but feel free to pick it up |
Works for me. Thanks for reaching out to get the status =) |
No worries :) |
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:
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.
The text was updated successfully, but these errors were encountered: