示例#1
0
def steemq_author_search(account_name, keywords):
    conditions = {
        'author': account_name,
    }
    results = steemq_query(mongo, conditions=conditions, search=keywords)
    return results
示例#2
0
def steemq_search(keywords):
    results = steemq_query(mongo, search=keywords)
    return results
示例#3
0
def steemq_feed_new():
    results = steemq_query(mongo, sort_by='new')
    return results
示例#4
0
def steemq_feed_trending():
    results = steemq_query(mongo, sort_by='payout')
    return results
示例#5
0
def steemq_get_blog(account_name):
    conditions = {
        'author': account_name,
    }
    return steemq_query(mongo, conditions=conditions)