Module: BWAPI::Client::Brandwatch::UsageReport

Included in:
BWAPI::Client::Brandwatch
Defined in:
lib/bwapi/client/brandwatch/usage_report.rb

Overview

usageReport module for brandwatch/usageReport endpoint

Instance Method Summary collapse

Instance Method Details

#brandwatch_usage_report(clientId, startDate, endDate, opts = {}) ⇒ Hash

Get the Clients Mention Usage report

Parameters:

  • clientId (Integer)

    Id of client

  • startDate (DateTime)

    Report startDate

  • endDate (DateTime)

    Report endDate

  • opts (Hash) (defaults to: {})

    options hash of parameters

Returns:

  • (Hash)

    Returns usage report for active client



13
14
15
# File 'lib/bwapi/client/brandwatch/usage_report.rb', line 13

def brandwatch_usage_report(clientId, startDate, endDate, opts = {})
  get "brandwatch/usageReport/client/#{clientId}/start/#{startDate}/end/#{endDate}", opts
end