module Datarank class Client # Module containing methods for interacting with a topic's reach data module Reach # Fetch reach for a topic grouped by a time interval # # @param slug [String] A topic's unique identifier slug def reach_secondly(slug, options={}) get "/topics/#{slug}/reach/secondly", options end def reach_minutely(slug, options={}) get "/topics/#{slug}/reach/minutely", options end def reach_hourly(slug, options={}) get "/topics/#{slug}/reach/hourly", options end def reach_daily(slug, options={}) get "/topics/#{slug}/reach/daily", options end def reach_weekly(slug, options={}) get "/topics/#{slug}/reach/weekly", options end def reach_monthly(slug, options={}) get "/topics/#{slug}/reach/monthly", options end def reach_quarterly(slug, options={}) get "/topics/#{slug}/reach/quarterly", options end def reach_yearly(slug, options={}) get "/topics/#{slug}/reach/yearly", options end end end end