@app.route('/search', methods=['post'])
def search():
    options = request.values.get('text').split(' ')
    if not options[0]:
        _create_response('You need to specify an option: try `/reddit aww top 5`.')
    elif len(options) is 1:
        if options[0] == 'help':
            return help_option()
        else:
            return fetch_posts(options[0])
    else:
        try:
            return _parse_options(options)
        except:
            return _create_response('Sorry, your request was incorrect.')
i.e. /reddit nba rising 10
dataset/ETHPy150Open arjunblj/slack-reddit/app.py/search