Example #1
0
def category_playcount_date_range_userdepth(category, start_date, end_date,
                                            depth):
    return _api_response(
        mpc.category_playcount(
            category,
            depth=int(depth),
            start_date=start_date,
            end_date=end_date))
Example #2
0
def image_categoryviews_date_range_userdepth(category, start_date, end_date,
                                             depth):
    return _api_response(
        mpc.image_category_viewcount(
            category,
            depth=int(depth),
            start_date=start_date,
            end_date=end_date))
Example #3
0
def image_viewcount_last_90(filename):
    return _api_response(mpc.image_single_viewcount(filename, last=90))
Example #4
0
def image_viewcount_date_range(filename, start_date, end_date):
    return _api_response(
        mpc.image_single_viewcount(
            filename, start_date=start_date, end_date=end_date))
Example #5
0
def image_viewcount_date(filename, date):
    return _api_response(mpc.image_single_viewcount(filename, end_date=date))
Example #6
0
def file_playcount_date(filename, date):
    return _api_response(mpc.file_playcount(filename, end_date=date))
Example #7
0
def image_categoryviews_last_90_userdepth(category, depth):
    return _api_response(
        mpc.image_category_viewcount(category, depth=int(depth), last=90))
Example #8
0
def image_categoryviews_date_autodepth(category, date):
    return _api_response(mpc.image_category_viewcount(category, end_date=date))
Example #9
0
def category_playcount_date_range_autodepth(category, start_date, end_date):
    return _api_response(
        mpc.category_playcount(
            category, start_date=start_date, end_date=end_date))
Example #10
0
def category_playcount_date_userdepth(category, date, depth):
    return _api_response(
        mpc.category_playcount(category, depth=int(depth), end_date=date))
Example #11
0
def category_playcount_date_autodepth(category, date):
    return _api_response(mpc.category_playcount(category, end_date=date))
Example #12
0
def category_playcount_all_userdepth(category, depth):
    return _api_response(mpc.category_playcount(category, depth=int(depth)))
Example #13
0
def category_playcount_all_autodepth(category):
    return _api_response(mpc.category_playcount(category))
Example #14
0
def file_playcount_last_90(filename):
    return _api_response(mpc.file_playcount(filename, last=90))
Example #15
0
def file_playcount_date_range(filename, start_date, end_date):
    return _api_response(
        mpc.file_playcount(filename, start_date=start_date, end_date=end_date))
Example #16
0
def image_categoryviews_all_autodepth(category):
    return _api_response(mpc.image_category_viewcount(category))
Example #17
0
def image_categoryviews_all_userdepth(category, depth):
    return _api_response(
        mpc.image_category_viewcount(category, depth=int(depth)))
Example #18
0
def category_playcount_last_90_autodepth(category):
    return _api_response(mpc.category_playcount(category, last=90))
Example #19
0
def image_categoryviews_date_range_autodepth(category, start_date, end_date):
    return _api_response(
        mpc.image_category_viewcount(
            category, start_date=start_date, end_date=end_date))
Example #20
0
def category_playcount_last_90_userdepth(category, depth):
    return _api_response(
        mpc.category_playcount(category, depth=int(depth), last=90))
Example #21
0
def image_categoryviews_last_90_autodepth(category):
    return _api_response(mpc.image_category_viewcount(category, last=90))
Example #22
0
def image_viewcount_all(filename):
    return _api_response(mpc.image_single_viewcount(filename))
Example #23
0
def youtube_0(file_or_cat, name_to_search):
    if file_or_cat == 'file':
        return _api_response(mpc.youtube_snapshot_file(name_to_search))
    elif file_or_cat == 'category':
        return _api_response(mpc.youtube_snapshot_category(name_to_search))
Example #24
0
def file_playcount_all(filename):
    return _api_response(mpc.file_playcount(filename))