def balls(timeout=timeout):
rc = requests.get(messages_url, timeout=timeout)<EOL>rc.encoding = '<STR_LIT:utf-8>'  <EOL>rc = rc.text<EOL>data = re.findall('<STR_LIT>', rc)<EOL>balls = {}<EOL>for i in data:<EOL><INDENT>balls[int(i[<NUM_LIT:0>])] = i[<NUM_LIT:1>]<EOL><DEDENT>return balls<EOL>
Return all balls in dict {id0: ball0, id1: ball1}.