Exemple #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))
Exemple #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))
Exemple #3
0
def image_viewcount_last_90(filename):
    return _api_response(mpc.image_single_viewcount(filename, last=90))
Exemple #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))
Exemple #5
0
def image_viewcount_date(filename, date):
    return _api_response(mpc.image_single_viewcount(filename, end_date=date))
Exemple #6
0
def file_playcount_date(filename, date):
    return _api_response(mpc.file_playcount(filename, end_date=date))
Exemple #7
0
def image_categoryviews_last_90_userdepth(category, depth):
    return _api_response(
        mpc.image_category_viewcount(category, depth=int(depth), last=90))
Exemple #8
0
def image_categoryviews_date_autodepth(category, date):
    return _api_response(mpc.image_category_viewcount(category, end_date=date))
Exemple #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))
Exemple #10
0
def category_playcount_date_userdepth(category, date, depth):
    return _api_response(
        mpc.category_playcount(category, depth=int(depth), end_date=date))
Exemple #11
0
def category_playcount_date_autodepth(category, date):
    return _api_response(mpc.category_playcount(category, end_date=date))
Exemple #12
0
def category_playcount_all_userdepth(category, depth):
    return _api_response(mpc.category_playcount(category, depth=int(depth)))
Exemple #13
0
def category_playcount_all_autodepth(category):
    return _api_response(mpc.category_playcount(category))
Exemple #14
0
def file_playcount_last_90(filename):
    return _api_response(mpc.file_playcount(filename, last=90))
Exemple #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))
Exemple #16
0
def image_categoryviews_all_autodepth(category):
    return _api_response(mpc.image_category_viewcount(category))
Exemple #17
0
def image_categoryviews_all_userdepth(category, depth):
    return _api_response(
        mpc.image_category_viewcount(category, depth=int(depth)))
Exemple #18
0
def category_playcount_last_90_autodepth(category):
    return _api_response(mpc.category_playcount(category, last=90))
Exemple #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))
Exemple #20
0
def category_playcount_last_90_userdepth(category, depth):
    return _api_response(
        mpc.category_playcount(category, depth=int(depth), last=90))
Exemple #21
0
def image_categoryviews_last_90_autodepth(category):
    return _api_response(mpc.image_category_viewcount(category, last=90))
Exemple #22
0
def image_viewcount_all(filename):
    return _api_response(mpc.image_single_viewcount(filename))
Exemple #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))
Exemple #24
0
def file_playcount_all(filename):
    return _api_response(mpc.file_playcount(filename))