Sha256: acb45e923ccb789ed78eb72781a9efb58d95869d71717e1ecac09e34475fe3f1
Contents?: true
Size: 628 Bytes
Versions: 7
Compression:
Stored size: 628 Bytes
Contents
module Datarank class Client # Module containing methods for interacting with geocoded data module Locations # Fetch geocoded comments for a topic # # @param slug [String] A topic's unique identifier slug def locations(slug, options={}) get "/topics/#{slug}/location/pins", options end # Fetch average sentiment for topic broken down into provinces with counts # # @param slug [String] A topic's unique identifier slug def location_sentiment(slug, options={}) get "/topics/#{slug}/location/sentiment", options end end end end
Version data entries
7 entries across 7 versions & 1 rubygems