def dweet_for(thing_name, payload, key=None, session=None):
if key is not None:<EOL><INDENT>params = {'<STR_LIT:key>': key}<EOL><DEDENT>else:<EOL><INDENT>params = None<EOL><DEDENT>return _send_dweet(payload, '<STR_LIT>'.format(thing_name), params=params, session=session)<EOL>
Send a dweet to dweet.io for a thing with a known name