Module: BWAPI::Client::Brandwatch

Includes:
Become, Clients, LogLevel, PriceStructures, UsageReport
Included in:
BWAPI::Client
Defined in:
lib/bwapi/client/brandwatch.rb,
lib/bwapi/client/brandwatch/become.rb,
lib/bwapi/client/brandwatch/clients.rb,
lib/bwapi/client/brandwatch/log_level.rb,
lib/bwapi/client/brandwatch/usage_report.rb,
lib/bwapi/client/brandwatch/clients/users.rb,
lib/bwapi/client/brandwatch/command_center.rb,
lib/bwapi/client/brandwatch/clients/modules.rb,
lib/bwapi/client/brandwatch/price_structures.rb,
lib/bwapi/client/brandwatch/command_center/themes.rb,
lib/bwapi/client/brandwatch/clients/command_center.rb,
lib/bwapi/client/brandwatch/command_center/scene_types.rb,
lib/bwapi/client/brandwatch/clients/command_center/users.rb,
lib/bwapi/client/brandwatch/clients/command_center/limits.rb,
lib/bwapi/client/brandwatch/clients/command_center/themes.rb,
lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb,
lib/bwapi/client/brandwatch/clients/command_center/users/access.rb

Overview

Brandwatch module for brandwatch endpoints

Defined Under Namespace

Modules: Become, Clients, CommandCenter, LogLevel, PriceStructures, UsageReport

Instance Method Summary collapse

Methods included from UsageReport

#brandwatch_usage_report

Methods included from PriceStructures

#create_price_structure, #delete_price_structure, #get_price_structures

Methods included from LogLevel

#brandwatch_log_level

Methods included from Clients

#brandwatch_clients, #brandwatch_create_client, #brandwatch_get_client, #brandwatch_update_client

Methods included from Clients::Modules

#brandwatch_client_modules, #update_brandwatch_client_modules

Methods included from Clients::Users

#brandwatch_create_client_user

Methods included from Clients::CommandCenter::Users

#brandwatch_user_access_level, #brandwatch_users_access_levels

Methods included from Clients::CommandCenter::Users::Access

#brandwatch_delete_user_access_level, #brandwatch_update_user_access_level

Methods included from Clients::CommandCenter::Themes

#brandwatch_themes, #brandwatch_update_themes

Methods included from Clients::CommandCenter::SceneTypes

#brandwatch_scene_types, #brandwatch_update_scene_type

Methods included from Clients::CommandCenter::Limits

#brandwatch_create_vizia_limits, #brandwatch_update_vizia_limits, #brandwatch_vizia_limits

Methods included from Become

#brandwatch_become

Instance Method Details

#brandwatch_data_download(project_id, opts = {}) ⇒ Hash

Create a new data download in project

Parameters:

  • project_id (Integer)

    Id of project

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

    options hash of parameters

Options Hash (opts):

  • id (Integer)

    Id of the data download

  • queryId (Integer)

    Id of the query

  • percentComplete (Int)

    The percentage complete of data download

  • status (String)

    The status of the download

  • queryName (String)

    The query name of the data download

  • endDate (Date)

    The end date of the data download

  • requestDate (Date)

    The request date of the data download

  • downloadLinkXLS (String)

    The link to download the XLS format

  • downloadLinkCSV (String)

    The link to download the CSV format

  • additionalColumns (Array)

    The additional columns for the data download

Returns:

  • (Hash)

    New data download



26
27
28
# File 'lib/bwapi/client/brandwatch.rb', line 26

def brandwatch_data_download(project_id, opts = {})
  post "brandwatch/#{project_id}/datadownload", opts
end