Module: Brainzz::Core
Instance Method Summary collapse
- #annotations_clickable_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #annotations_clickable_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #annotations_clicked_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #annotations_clicked_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_comment_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_comment_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_details_for(channel_ids) ⇒ Object
- #channel_dislike_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_dislike_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_like_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_like_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_list(options = {}, content_owner_id = nil) ⇒ Object
- #channel_subscribers_gained_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_subscribers_gained_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_subscribers_lost_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_subscribers_lost_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_view_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #channel_view_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #comment_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #comments_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #dislike_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #dislikes_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #like_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #likes_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #playlist_items_for(playlist_id, response = nil) ⇒ Object
- #share_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #shares_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #subscribers_gained_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #subscribers_gained_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #subscribers_lost_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #subscribers_lost_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #video_details_for(video_ids, options = {}, content_owner_id = nil) ⇒ Object
- #video_search(options = {}, content_owner_id = nil) ⇒ Object
- #view_duration_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #view_durations_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #view_percentage_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #view_percentages_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #view_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
- #views_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
Instance Method Details
#annotations_clickable_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
108 109 110 111 112 |
# File 'lib/brainzz/core.rb', line 108 def annotations_clickable_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) AnnotationsClickableByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#annotations_clickable_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
114 115 116 117 118 |
# File 'lib/brainzz/core.rb', line 114 def annotations_clickable_totals_for( video_ids, start_date, end_date, content_owner_id = nil) AnnotationsClickableTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#annotations_clicked_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
120 121 122 123 124 |
# File 'lib/brainzz/core.rb', line 120 def annotations_clicked_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) AnnotationsClickedByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#annotations_clicked_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
126 127 128 129 130 |
# File 'lib/brainzz/core.rb', line 126 def annotations_clicked_totals_for( video_ids, start_date, end_date, content_owner_id = nil) AnnotationsClickedTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#channel_comment_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
216 217 218 219 220 |
# File 'lib/brainzz/core.rb', line 216 def channel_comment_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelCommentCountByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_comment_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
222 223 224 225 226 |
# File 'lib/brainzz/core.rb', line 222 def channel_comment_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelCommentCountTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_details_for(channel_ids) ⇒ Object
9 10 11 |
# File 'lib/brainzz/core.rb', line 9 def channel_details_for(channel_ids) ChannelDetailsCommand.execute channel_ids end |
#channel_dislike_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
204 205 206 207 208 |
# File 'lib/brainzz/core.rb', line 204 def channel_dislike_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelDislikeCountByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_dislike_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
210 211 212 213 214 |
# File 'lib/brainzz/core.rb', line 210 def channel_dislike_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelDislikeCountTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_like_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
192 193 194 195 196 |
# File 'lib/brainzz/core.rb', line 192 def channel_like_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelLikeCountByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_like_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
198 199 200 201 202 |
# File 'lib/brainzz/core.rb', line 198 def channel_like_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelLikeCountTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_list(options = {}, content_owner_id = nil) ⇒ Object
5 6 7 |
# File 'lib/brainzz/core.rb', line 5 def channel_list(={}, content_owner_id = nil) ChannelListCommand.execute , content_owner_id end |
#channel_subscribers_gained_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
168 169 170 171 172 |
# File 'lib/brainzz/core.rb', line 168 def channel_subscribers_gained_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelSubscribersGainedByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_subscribers_gained_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
174 175 176 177 178 |
# File 'lib/brainzz/core.rb', line 174 def channel_subscribers_gained_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelSubscribersGainedTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_subscribers_lost_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
156 157 158 159 160 |
# File 'lib/brainzz/core.rb', line 156 def channel_subscribers_lost_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelSubscribersLostByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_subscribers_lost_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
162 163 164 165 166 |
# File 'lib/brainzz/core.rb', line 162 def channel_subscribers_lost_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelSubscribersLostTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_view_by_day_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
180 181 182 183 184 |
# File 'lib/brainzz/core.rb', line 180 def channel_view_by_day_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelViewCountByDayCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#channel_view_totals_for(channel_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
186 187 188 189 190 |
# File 'lib/brainzz/core.rb', line 186 def channel_view_totals_for( channel_ids, start_date, end_date, content_owner_id = nil) ChannelViewCountTotalsCommand .execute channel_ids, start_date, end_date, content_owner_id end |
#comment_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
78 79 80 81 82 |
# File 'lib/brainzz/core.rb', line 78 def comment_totals_for( video_ids, start_date, end_date, content_owner_id = nil) CommentTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#comments_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
72 73 74 75 76 |
# File 'lib/brainzz/core.rb', line 72 def comments_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) CommentCountByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#dislike_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
66 67 68 69 70 |
# File 'lib/brainzz/core.rb', line 66 def dislike_totals_for( video_ids, start_date, end_date, content_owner_id = nil) DislikeTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#dislikes_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
60 61 62 63 64 |
# File 'lib/brainzz/core.rb', line 60 def dislikes_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) DislikeCountByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#like_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
43 44 45 46 |
# File 'lib/brainzz/core.rb', line 43 def like_totals_for(video_ids, start_date, end_date, content_owner_id = nil) LikeTotalsCommand.execute video_ids, start_date, end_date, content_owner_id end |
#likes_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
37 38 39 40 41 |
# File 'lib/brainzz/core.rb', line 37 def likes_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) LikeCountByDayCommand.execute video_ids, start_date, end_date, content_owner_id end |
#playlist_items_for(playlist_id, response = nil) ⇒ Object
13 14 15 |
# File 'lib/brainzz/core.rb', line 13 def playlist_items_for(playlist_id, response = nil) PlaylistItemsCommand.execute playlist_id, response end |
#share_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
54 55 56 57 58 |
# File 'lib/brainzz/core.rb', line 54 def share_totals_for( video_ids, start_date, end_date, content_owner_id = nil) ShareTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#shares_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
48 49 50 51 52 |
# File 'lib/brainzz/core.rb', line 48 def shares_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) ShareCountByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#subscribers_gained_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
84 85 86 87 88 |
# File 'lib/brainzz/core.rb', line 84 def subscribers_gained_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) SubscribersGainedByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#subscribers_gained_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
90 91 92 93 94 |
# File 'lib/brainzz/core.rb', line 90 def subscribers_gained_totals_for( video_ids, start_date, end_date, content_owner_id = nil) SubscribersGainedTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#subscribers_lost_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
96 97 98 99 100 |
# File 'lib/brainzz/core.rb', line 96 def subscribers_lost_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) SubscribersLostByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#subscribers_lost_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
102 103 104 105 106 |
# File 'lib/brainzz/core.rb', line 102 def subscribers_lost_totals_for( video_ids, start_date, end_date, content_owner_id = nil) SubscribersLostTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#video_details_for(video_ids, options = {}, content_owner_id = nil) ⇒ Object
17 18 19 |
# File 'lib/brainzz/core.rb', line 17 def video_details_for(video_ids, ={}, content_owner_id = nil) VideoDetailsCommand.execute video_ids, , content_owner_id end |
#video_search(options = {}, content_owner_id = nil) ⇒ Object
21 22 23 |
# File 'lib/brainzz/core.rb', line 21 def video_search(={}, content_owner_id = nil) VideoSearchCommand.execute , content_owner_id end |
#view_duration_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
150 151 152 153 154 |
# File 'lib/brainzz/core.rb', line 150 def view_duration_totals_for( video_ids, start_date, end_date, content_owner_id = nil) ViewDurationTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#view_durations_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
144 145 146 147 148 |
# File 'lib/brainzz/core.rb', line 144 def view_durations_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) ViewDurationsByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#view_percentage_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
138 139 140 141 142 |
# File 'lib/brainzz/core.rb', line 138 def view_percentage_totals_for( video_ids, start_date, end_date, content_owner_id = nil) ViewPercentageTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#view_percentages_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
132 133 134 135 136 |
# File 'lib/brainzz/core.rb', line 132 def view_percentages_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) ViewPercentagesByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |
#view_totals_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
31 32 33 34 35 |
# File 'lib/brainzz/core.rb', line 31 def view_totals_for( video_ids, start_date, end_date, content_owner_id = nil) ViewTotalsCommand .execute video_ids, start_date, end_date, content_owner_id end |
#views_by_day_for(video_ids, start_date, end_date, content_owner_id = nil) ⇒ Object
25 26 27 28 29 |
# File 'lib/brainzz/core.rb', line 25 def views_by_day_for( video_ids, start_date, end_date, content_owner_id = nil) ViewCountByDayCommand .execute video_ids, start_date, end_date, content_owner_id end |