Module: ListingcheckApi

Defined in:
lib/listingcheck_api.rb,
lib/listingcheck_api/version.rb

Overview

api = ListingcheckApi::Client.new(:auth_token => ‘your_ubersecret_token’, :base_uri => ‘..’) place = ListingcheckApi::Place.new(:name => ‘Bridges’, :phone => ‘020-5553560’, :address => ‘Oudezijds Voorburgwal 197’, :city => ‘Amsterdam’) scan = ListingcheckApi::Scan.new(:scan_group => ‘restaurants’, :place_attributes => place) api.create_scan(scan) api.post(‘listings_scans.json’, => {:listings_scan => scan}) api.perform_scan api.listing(‘facebook_places_listing’, 142709532406955) api.refresh_listing(‘facebook_places_listing’, 142709532406955) api.create_listing(‘facebook_places_listing’, 142709532406955)

Defined Under Namespace

Classes: Client, Listing, Place, Scan

Constant Summary collapse

VERSION =
"0.2.1"