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