data = {'snippet': 'This is the note', 'T': token}
encoded_data = urllib.parse.urlencode(data)
req = urllib.request.Request(add_note_url, encoded_data)
req.add_header('Authorization', 'GoogleLogin auth=%s' % credentials['Auth'])
response = urllib.request.urlopen(req)
if response.code == 200:
    print('Gadzooks!')
else:
    print('Curses and damnation')
How can I can I programatically post a note to Google Reader?