def get_alert(thing_name, key, session=None):
return _request('<STR_LIT>', '<STR_LIT>'.format(thing_name), params={'<STR_LIT:key>': key}, session=session)<EOL>
Set an alert on a thing with the given condition