Hi I'm trying to do an automatic backup of my calendar and my contacts.
The calendar is very simple, as it has a "private url" I can just download, however contacts has proved slightly more difficult. This is what I'm trying: SID=$(curl https://www.google.com/accounts/ClientLogin -d Email=aagaande -d Passwd=7gjeyjey11778 -d source=Google-cURL-1 -d service=contacts | grep SID) T_TOKEN=$(curl -s -X GET http://www.google.com/reader/api/0/token -- header "Cookie: $SID") curl -s -X GET "https://mail.google.com/mail/contacts/data/export? groupToExport=%5EMine&exportType=ALL&out=GMAIL_CSV" --header "Cookie: $SID; T=$T_TOKEN" However that fails for me with "Your client has issued a malformed or illegal request.", any way I can get this working? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
