module BWAPI::Client::Projects::Demographics

Demographics module for projects/demographics endpoints

Public Instance Methods

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

Get top values for given metric and query id

@param project_id [Integer] Id of project @param metric [String] Demographic metric @param opts [Hash] options Hash of parameters @option opts [Integer] limit The limit to return @option opts [Hash] filter The filters to apply @return [Hash] All data downloads in project

# File lib/bwapi/client/projects/demographics.rb, line 14
def demographics(project_id, metric, opts = {})
  get "projects/#{project_id}/demographics/#{metric}", opts
end