module Datarank class Client # Module containing methods for interacting with a topic's sentiment data module Sentiment # Fetch sentiment for a topic grouped by a time interval # # @param slug [String] A topic's unique identifier slug def sentiment_secondly(slug, options={}) get "/topics/#{slug}/sentiment/secondly", options end def sentiment_minutely(slug, options={}) get "/topics/#{slug}/sentiment/minutely", options end def sentiment_hourly(slug, options={}) get "/topics/#{slug}/sentiment/hourly", options end def sentiment_daily(slug, options={}) get "/topics/#{slug}/sentiment/daily", options end def sentiment_weekly(slug, options={}) get "/topics/#{slug}/sentiment/weekly", options end def sentiment_monthly(slug, options={}) get "/topics/#{slug}/sentiment/monthly", options end def sentiment_quarterly(slug, options={}) get "/topics/#{slug}/sentiment/quarterly", options end def sentiment_yearly(slug, options={}) get "/topics/#{slug}/sentiment/yearly", options end end end end