Esempio n. 1
0
def get_history():
    response = get(HISTORY_URL)
    html_body = response.content
    if HISTORY_HTML_CONTENT in html_body:
        history_parser = NextbikeHistoryParser()
        return history_parser.get_account_history(html_body)
    return False
Esempio n. 2
0
def list_bikes():
    response = get()
    return respond(401)