def steemq_author_search(account_name, keywords): conditions = { 'author': account_name, } results = steemq_query(mongo, conditions=conditions, search=keywords) return results
def steemq_search(keywords): results = steemq_query(mongo, search=keywords) return results
def steemq_feed_new(): results = steemq_query(mongo, sort_by='new') return results
def steemq_feed_trending(): results = steemq_query(mongo, sort_by='payout') return results
def steemq_get_blog(account_name): conditions = { 'author': account_name, } return steemq_query(mongo, conditions=conditions)