Module: BWAPI::Client::Projects::Data::Hashtags

Included in:
BWAPI::Client::Projects::Data
Defined in:
lib/bwapi/client/projects/data/hashtags.rb

Overview

Hashtags module for the /projects/project_id/data/hashtags endpoint

Instance Method Summary collapse

Instance Method Details

#data_hashtags(project_id, opts = {}) ⇒ array

Get top n hashtags

Parameters:

  • project_id (Integer)

    Id of project

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

    options hash of parameters

Options Hash (opts):

  • filter (Hash)

    The filters to apply

  • limit (Integer)

    The limit to return

  • orderBy (String)

    Parameter to sort by

  • orderDirection (String)

    Direction of sort

Returns:

  • (array)

    top n hashtags based on parameter passed



16
17
18
# File 'lib/bwapi/client/projects/data/hashtags.rb', line 16

def data_hashtags(project_id, opts = {})
  get "/projects/#{project_id}/data/hashtags", opts
end