lib/foursquare2/pages.rb
def page_venues(page_id, options={})
      response = connection.get do |req|
        req.url "pages/#{page_id}/venues", options
      end
      venues = return_error_or_body(response, response.body.response.venues)
      venues = Foursquare2.filter(venues, options[:query]) if options.has_key? :query
      venues
    end
def page_venues(page_id, options={})
      response = connection.get do |req|
        req.url "pages/#{page_id}/venues", options
      end
      venues = return_error_or_body(response, response.body.response.venues)
      venues = Foursquare2.filter(venues, options[:query]) if options.has_key? :query
      venues
    end
def page_venues ( page_id , options = { } ) response = connection . get do | req | req . url "pages/#{page_id}/venues" , options end venues = return_error_or_body ( response , response . body . response . venues ) venues = Foursquare2 . filter ( venues , options [ :query ] ) if options . has_key? :query venues end
Get all venues for a given page.

 @param [String] page_id - The page to retrieve venues for.
 @param [Hash]  options
 @option options Integer :limit
 @option options Integer :offset - For paging through results
 @option options String :ll - Latitude and longitude in format LAT,LON - Limit results to venues near this latitude and longitude. NOT VALID with NE or SW (see after).
 @option String :radius - Can be used when including ll. Limit results to venues within this many meters of the specified ll. Not valid with ne or sw.
 @option String :sw - With ne, limits results to the bounding quadrangle defined by the latitude and longitude given by sw as its south-west corner, and ne as its north-east corner. Not valid with ll or radius.
 @option String :ne - See sw
Get all venues for a given page .