Bake-off Code 2 Pseduo-code
Submitted by Kevin Kleinfelter on Thu, 2007-05-03 20:13.
Plan for failure:
It isn't going to work the first time. In fact, I'm probably not going to successfully complete the login sequence. So just to make sure I understand it correctly, I'll prototype it with wget.
wget \
--no-check-certificate \
--server-response \
--post-data='Passwd=mypass&source=testsrcEmail=me@gmail.com&service=cl' \
--header='Content-Type: application/x-www-form-urlencoded' \
'https://www.google.com/accounts/ClientLogin'
This should return a status code 200 and write the Google response to ./ClientLogin Note: My .wgetrc looks like this:
http_proxy = http://proxy.big-corp.com:8080/
https_proxy = http://proxy.big-corp.com:8080/
Whatdoesitdo?
- I'll need a Google session object and an Outlook session object.
- I'll need to start and stop my sessions.
- I'll need to fetch the calendar via the session.
- I'll need to store the calendar via the session.
- I'll need to delete the calendar via the session.

Delicious
Digg
Reddit