def find_user(session, username):
resp = _make_request(session, FIND_USER_URL, username)<EOL>if not resp:<EOL><INDENT>raise VooblyError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>return int(resp[<NUM_LIT:0>]['<STR_LIT>'])<EOL><DEDENT>except ValueError:<EOL><INDENT>raise VooblyError('<STR_LIT>')<EOL><DEDENT>
Find user by name - returns user ID.