Permalink
Browse files

minor documentation

  • Loading branch information...
cantino committed Feb 11, 2014
1 parent 99f37f6 commit c29c8aa26017c3f6fca25e1818d6b5710bd3b896
Showing with 3 additions and 0 deletions.
  1. +1 −0 README.md
  2. +2 −0 app/models/agents/public_transport_agent.rb
View
@@ -15,6 +15,7 @@ Huginn is a system for building agents that perform automated tasks for you onli
* Scrape websites and receive emails when they change
* Compose digest emails about things you care about to be sent at specific times of the day
* Track counts of high frequency events and SMS on changes, such as the term "san francisco emergency"
+* Watch public transit
* Track your location over time
* Create Amazon Mechanical Turk tasks as the input, or output, of events
@@ -23,6 +23,8 @@ class PublicTransportAgent < Agent
agency: "sf-muni"
stops: ["N|5221", "N|5215"]
+ Remember to pick the appropriate stop, which will have different tags for in-bound and out-bound.
+
This Agent will generate predictions by requesting a URL similar to the following:
[http://webservices.nextbus.com/service/publicXMLFeed?command=predictionsForMultiStops&a=sf-muni&stops=N&#124;5221&stops=N&#124;5215](http://webservices.nextbus.com/service/publicXMLFeed?command=predictionsForMultiStops&a=sf-muni&stops=N&#124;5221&stops=N&#124;5215)

0 comments on commit c29c8aa

Please sign in to comment.