README.md in ptv_timetable-0.0.1 vs README.md in ptv_timetable-0.0.2

- old
+ new

@@ -9,11 +9,10 @@ For all API calls you will need a valid _devid_ and _secret_key_. ```ruby api = PtvTimetable::API.new('devid', 'secret_key') - ``` ### Health Check The Health Check will test a number of the key services that deliver the PTV Timetable API and let you know if there are any problems with connectivity, availability or reachability. @@ -36,12 +35,17 @@ Transport POIs by Map returns a set of locations consisting of stops and/or myki ticket outlets (collectively known as points of interest) within a region demarcated on a map through a set of latitude and longitude coordinates. ```ruby api.points_of_interest(-37.82205143151239, 144.9779160007277, -37.81393456848758, 144.9859159992726) + +# Or just myki ticket outlets +api.points_of_interest(-37.82205143151239, 144.9779160007277, -37.81393456848758, 144.9859159992726, PtvTimetable::TICKET_OUTLET) ``` + + ### Search The Search API returns all stops and lines that match the input search text. ```ruby @@ -80,10 +84,9 @@ The Stops on a Line API returns a list of all the stops for a requested line, ordered by location name. ```ruby api.line_stops(PtvTimetable::BUS, 1818) - ``` ## Installation Add this line to your application's Gemfile: