Module: BWAPI::Client::Brandwatch

Includes:
Become, ClientModules
Included in:
BWAPI::Client
Defined in:
lib/bwapi/client/brandwatch.rb,
lib/bwapi/client/brandwatch/become.rb,
lib/bwapi/client/brandwatch/client_modules.rb

Defined Under Namespace

Modules: Become, ClientModules

Instance Method Summary collapse

Methods included from ClientModules

#brandwatch_client_modules, #update_brandwatch_client_module

Methods included from Become

#brandwatch_become

Instance Method Details

#brandwatch_data_download(id, opts) ⇒ Hashie::Mash

Create a new data download in project

Parameters:

  • id (Integer)

    Id of project

  • opts (Hash)

    options hash of parameters

Options Hash (opts):

  • projectId (Integer)

    Id of the project

  • 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:

  • (Hashie::Mash)

    New data download



24
25
26
# File 'lib/bwapi/client/brandwatch.rb', line 24

def brandwatch_data_download id, opts
  post "brandwatch/#{project_id}/datadownload", opts
end