README.rdoc in ticketfly-0.2.3 vs README.rdoc in ticketfly-0.2.4
- old
+ new
@@ -1,18 +1,22 @@
= ticketfly
A ruby implementation of the Ticketfly event and venue API.
-== usage
+== simple consumption
+gem 'ticketfly'
-* simple consumption
venues = Ticketfly::Venues.get_all
-events = Ticketfly::Events.get_by_venue_id(venues.third.id)
-artist = events.first.headliners.first
-* event searching
+venue_events = venues.third.events
+
+next_headliner = venue_events.first.headliners.first.name
+
+== event searching
+
events = Ticketfly::Events.search('SEARCH_STRING') <- artist name or city string
+
venue = events.first.venue
== coming soon
* purchase API
@@ -20,6 +24,5 @@
== copyright
Copyright (c) 2012 Charley Hine. See LICENSE.txt for
further details.
-