def get_input_key():
click.secho("<STR_LIT>", fg="<STR_LIT>", bold=True)<EOL>click.secho("<STR_LIT>".format(RequestHandler.BASE_URL),<EOL>fg="<STR_LIT>",<EOL>bold=True)<EOL>while True:<EOL><INDENT>confkey = click.prompt(click.style("<STR_LIT>",<EOL>fg="<STR_LIT>", bold=True))<EOL>if len(confkey) == <NUM_LIT:32>:  <EOL><INDENT>try:<EOL><INDENT>int(confkey, <NUM_LIT:16>)  <EOL><DEDENT>except ValueError:<EOL><INDENT>click.secho("<STR_LIT>", fg="<STR_LIT>", bold=True)<EOL><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>click.secho("<STR_LIT>", fg="<STR_LIT>", bold=True)<EOL><DEDENT><DEDENT>return confkey<EOL>
Input API key and validate