Module: Brainzz::Core
Instance Method Summary collapse
- #annotations_clickable_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #annotations_clickable_totals_for(video_ids, start_date, end_date) ⇒ Object
- #annotations_clicked_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #annotations_clicked_totals_for(video_ids, start_date, end_date) ⇒ Object
- #channel_subscribers_gained_by_day_for(channel_ids, start_date, end_date) ⇒ Object
- #channel_subscribers_gained_totals_for(channel_ids, start_date, end_date) ⇒ Object
- #channel_subscribers_lost_by_day_for(channel_ids, start_date, end_date) ⇒ Object
- #channel_subscribers_lost_totals_for(channel_ids, start_date, end_date) ⇒ Object
- #comment_totals_for(video_ids, start_date, end_date) ⇒ Object
- #comments_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #dislike_totals_for(video_ids, start_date, end_date) ⇒ Object
- #dislikes_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #like_totals_for(video_ids, start_date, end_date) ⇒ Object
- #likes_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #playlist_items_for(playlist_id, response = nil) ⇒ Object
- #share_totals_for(video_ids, start_date, end_date) ⇒ Object
- #shares_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #subscribers_gained_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #subscribers_gained_totals_for(video_ids, start_date, end_date) ⇒ Object
- #subscribers_lost_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #subscribers_lost_totals_for(video_ids, start_date, end_date) ⇒ Object
- #video_details_for(video_ids, options = {}) ⇒ Object
- #view_duration_totals_for(video_ids, start_date, end_date) ⇒ Object
- #view_durations_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #view_percentage_totals_for(video_ids, start_date, end_date) ⇒ Object
- #view_percentages_by_day_for(video_ids, start_date, end_date) ⇒ Object
- #view_totals_for(video_ids, start_date, end_date) ⇒ Object
- #views_by_day_for(video_ids, start_date, end_date) ⇒ Object
Instance Method Details
#annotations_clickable_by_day_for(video_ids, start_date, end_date) ⇒ Object
69 70 71 |
# File 'lib/brainzz/core.rb', line 69 def annotations_clickable_by_day_for(video_ids, start_date, end_date) AnnotationsClickableByDayCommand.execute video_ids, start_date, end_date end |
#annotations_clickable_totals_for(video_ids, start_date, end_date) ⇒ Object
73 74 75 |
# File 'lib/brainzz/core.rb', line 73 def annotations_clickable_totals_for(video_ids, start_date, end_date) AnnotationsClickableTotalsCommand.execute video_ids, start_date, end_date end |
#annotations_clicked_by_day_for(video_ids, start_date, end_date) ⇒ Object
77 78 79 |
# File 'lib/brainzz/core.rb', line 77 def annotations_clicked_by_day_for(video_ids, start_date, end_date) AnnotationsClickedByDayCommand.execute video_ids, start_date, end_date end |
#annotations_clicked_totals_for(video_ids, start_date, end_date) ⇒ Object
81 82 83 |
# File 'lib/brainzz/core.rb', line 81 def annotations_clicked_totals_for(video_ids, start_date, end_date) AnnotationsClickedTotalsCommand.execute video_ids, start_date, end_date end |
#channel_subscribers_gained_by_day_for(channel_ids, start_date, end_date) ⇒ Object
111 112 113 114 |
# File 'lib/brainzz/core.rb', line 111 def channel_subscribers_gained_by_day_for(channel_ids, start_date, end_date) ChannelSubscribersGainedByDayCommand .execute channel_ids, start_date, end_date end |
#channel_subscribers_gained_totals_for(channel_ids, start_date, end_date) ⇒ Object
116 117 118 119 |
# File 'lib/brainzz/core.rb', line 116 def channel_subscribers_gained_totals_for(channel_ids, start_date, end_date) ChannelSubscribersGainedTotalsCommand .execute channel_ids, start_date, end_date end |
#channel_subscribers_lost_by_day_for(channel_ids, start_date, end_date) ⇒ Object
101 102 103 104 |
# File 'lib/brainzz/core.rb', line 101 def channel_subscribers_lost_by_day_for(channel_ids, start_date, end_date) ChannelSubscribersLostByDayCommand .execute channel_ids, start_date, end_date end |
#channel_subscribers_lost_totals_for(channel_ids, start_date, end_date) ⇒ Object
106 107 108 109 |
# File 'lib/brainzz/core.rb', line 106 def channel_subscribers_lost_totals_for(channel_ids, start_date, end_date) ChannelSubscribersLostTotalsCommand .execute channel_ids, start_date, end_date end |
#comment_totals_for(video_ids, start_date, end_date) ⇒ Object
49 50 51 |
# File 'lib/brainzz/core.rb', line 49 def comment_totals_for(video_ids, start_date, end_date) CommentTotalsCommand.execute video_ids, start_date, end_date end |
#comments_by_day_for(video_ids, start_date, end_date) ⇒ Object
45 46 47 |
# File 'lib/brainzz/core.rb', line 45 def comments_by_day_for(video_ids, start_date, end_date) CommentCountByDayCommand.execute video_ids, start_date, end_date end |
#dislike_totals_for(video_ids, start_date, end_date) ⇒ Object
41 42 43 |
# File 'lib/brainzz/core.rb', line 41 def dislike_totals_for(video_ids, start_date, end_date) DislikeTotalsCommand.execute video_ids, start_date, end_date end |
#dislikes_by_day_for(video_ids, start_date, end_date) ⇒ Object
37 38 39 |
# File 'lib/brainzz/core.rb', line 37 def dislikes_by_day_for(video_ids, start_date, end_date) DislikeCountByDayCommand.execute video_ids, start_date, end_date end |
#like_totals_for(video_ids, start_date, end_date) ⇒ Object
25 26 27 |
# File 'lib/brainzz/core.rb', line 25 def like_totals_for(video_ids, start_date, end_date) LikeTotalsCommand.execute video_ids, start_date, end_date end |
#likes_by_day_for(video_ids, start_date, end_date) ⇒ Object
21 22 23 |
# File 'lib/brainzz/core.rb', line 21 def likes_by_day_for(video_ids, start_date, end_date) LikeCountByDayCommand.execute video_ids, start_date, end_date end |
#playlist_items_for(playlist_id, response = nil) ⇒ Object
5 6 7 |
# File 'lib/brainzz/core.rb', line 5 def playlist_items_for(playlist_id, response = nil) PlaylistItemsCommand.execute playlist_id, response end |
#share_totals_for(video_ids, start_date, end_date) ⇒ Object
33 34 35 |
# File 'lib/brainzz/core.rb', line 33 def share_totals_for(video_ids, start_date, end_date) ShareTotalsCommand.execute video_ids, start_date, end_date end |
#shares_by_day_for(video_ids, start_date, end_date) ⇒ Object
29 30 31 |
# File 'lib/brainzz/core.rb', line 29 def shares_by_day_for(video_ids, start_date, end_date) ShareCountByDayCommand.execute video_ids, start_date, end_date end |
#subscribers_gained_by_day_for(video_ids, start_date, end_date) ⇒ Object
53 54 55 |
# File 'lib/brainzz/core.rb', line 53 def subscribers_gained_by_day_for(video_ids, start_date, end_date) SubscribersGainedByDayCommand.execute video_ids, start_date, end_date end |
#subscribers_gained_totals_for(video_ids, start_date, end_date) ⇒ Object
57 58 59 |
# File 'lib/brainzz/core.rb', line 57 def subscribers_gained_totals_for(video_ids, start_date, end_date) SubscribersGainedTotalsCommand.execute video_ids, start_date, end_date end |
#subscribers_lost_by_day_for(video_ids, start_date, end_date) ⇒ Object
61 62 63 |
# File 'lib/brainzz/core.rb', line 61 def subscribers_lost_by_day_for(video_ids, start_date, end_date) SubscribersLostByDayCommand.execute video_ids, start_date, end_date end |
#subscribers_lost_totals_for(video_ids, start_date, end_date) ⇒ Object
65 66 67 |
# File 'lib/brainzz/core.rb', line 65 def subscribers_lost_totals_for(video_ids, start_date, end_date) SubscribersLostTotalsCommand.execute video_ids, start_date, end_date end |
#video_details_for(video_ids, options = {}) ⇒ Object
9 10 11 |
# File 'lib/brainzz/core.rb', line 9 def video_details_for(video_ids, ={}) VideoDetailsCommand.execute video_ids, end |
#view_duration_totals_for(video_ids, start_date, end_date) ⇒ Object
97 98 99 |
# File 'lib/brainzz/core.rb', line 97 def view_duration_totals_for(video_ids, start_date, end_date) ViewDurationTotalsCommand.execute video_ids, start_date, end_date end |
#view_durations_by_day_for(video_ids, start_date, end_date) ⇒ Object
93 94 95 |
# File 'lib/brainzz/core.rb', line 93 def view_durations_by_day_for(video_ids, start_date, end_date) ViewDurationsByDayCommand.execute video_ids, start_date, end_date end |
#view_percentage_totals_for(video_ids, start_date, end_date) ⇒ Object
89 90 91 |
# File 'lib/brainzz/core.rb', line 89 def view_percentage_totals_for(video_ids, start_date, end_date) ViewPercentageTotalsCommand.execute video_ids, start_date, end_date end |
#view_percentages_by_day_for(video_ids, start_date, end_date) ⇒ Object
85 86 87 |
# File 'lib/brainzz/core.rb', line 85 def view_percentages_by_day_for(video_ids, start_date, end_date) ViewPercentagesByDayCommand.execute video_ids, start_date, end_date end |
#view_totals_for(video_ids, start_date, end_date) ⇒ Object
17 18 19 |
# File 'lib/brainzz/core.rb', line 17 def view_totals_for(video_ids, start_date, end_date) ViewTotalsCommand.execute video_ids, start_date, end_date end |
#views_by_day_for(video_ids, start_date, end_date) ⇒ Object
13 14 15 |
# File 'lib/brainzz/core.rb', line 13 def views_by_day_for(video_ids, start_date, end_date) ViewCountByDayCommand.execute video_ids, start_date, end_date end |