Module: BWAPI::Client::Projects::Data
- Included in:
- BWAPI::Client::Projects
- Defined in:
- lib/bwapi/client/projects/data.rb,
lib/bwapi/client/projects/data/volume.rb,
lib/bwapi/client/projects/data/mentions.rb
Overview
Data module for projects/data endpoints
Defined Under Namespace
Instance Method Summary collapse
-
#data(project_id, aggregate, dimension_one, dimension_two, opts = {}) ⇒ Hashie::Mash
Get all chart data for the requested dimensions.
-
#data_headlines(project_id, opts = {}) ⇒ Hashie::Mash
Get headline figures for specified channels.
Methods included from Volume
#data_volume_date_ranges_days, #data_volume_queries_top_sites, #data_volume_top_authors_queries, #data_volume_top_authors_queries_alt, #data_volume_top_sites_queries, #data_volume_top_tweeters_queries, #data_volume_topics_compare, #data_volume_topics_queries
Methods included from Mentions
#data_mentions, #data_mentions_fulltext, #data_mentions_tweets, #update_data_mentions
Instance Method Details
#data(project_id, aggregate, dimension_one, dimension_two, opts = {}) ⇒ Hashie::Mash
Get all chart data for the requested dimensions
19 20 21 |
# File 'lib/bwapi/client/projects/data.rb', line 19 def data(project_id, aggregate, dimension_one, dimension_two, opts = {}) get "projects/#{project_id}/data/#{aggregate}/#{dimension_one}/#{dimension_two}", opts end |
#data_headlines(project_id, opts = {}) ⇒ Hashie::Mash
Get headline figures for specified channels
29 30 31 |
# File 'lib/bwapi/client/projects/data.rb', line 29 def data_headlines(project_id, opts = {}) get "projects/#{project_id}/data/headlines", opts end |