module BWAPI::Client::Brandwatch

Brandwatch module for brandwatch endpoints

Public Instance Methods

brandwatch_data_download(project_id, opts = {}) click to toggle source

Create a new data download in project

@param project_id [Integer] Id of project @param opts [Hash] options hash of parameters @option opts [Integer] id Id of the data download @option opts [Integer] queryId Id of the query @option opts [Int] percentComplete The percentage complete of data download @option opts [String] status The status of the download @option opts [String] queryName The query name of the data download @option opts [Date] endDate The end date of the data download @option opts [Date] requestDate The request date of the data download @option opts [String] downloadLinkXLS The link to download the XLS format @option opts [String] downloadLinkCSV The link to download the CSV format @option opts [Array] additionalColumns The additional columns for the data download @return [Hash] New data download

# File lib/bwapi/client/brandwatch.rb, line 30
def brandwatch_data_download(project_id, opts = {})
  post "brandwatch/#{project_id}/datadownload", opts
end
delete_token_log_level(access_token) click to toggle source

Remove the logging level override for given access token

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch.rb, line 51
def delete_token_log_level(access_token)
  delete "/brandwatch/token-log-level/#{access_token}"
end
get_token_log_level(access_token) click to toggle source

Get the logging level override for given access token

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch.rb, line 44
def get_token_log_level(access_token)
  get "/brandwatch/token-log-level/#{access_token}"
end
update_token_log_level(opts = {}) click to toggle source

Alter the logging level override for given access token

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch.rb, line 37
def update_token_log_level(opts = {})
  put '/brandwatch/token-log-level', opts
end