Hello,

I've been trying to write data into spreadsheet using it. But when I search 
for Google's official documentation of Python gdata library, I'm being 
redirected to <https://developers.google.com/google-apps/spreadsheets> and 
that page doesn't seem to have any examples in Python (it's all in .NET, 
Protocol and Java)

I also googled around to find examples, and found one here 
<http://www.mattcutts.com/blog/write-google-spreadsheet-from-python/>. But 
that example no longer works as mentioned in one of the posts in this 
forum; it returns me 400 error as follows:
'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 400, 'body': 'We&#39;re sorry, a 
server error occurred. Please wait a bit and try reloading your 
spreadsheet.', 'reason': 'Bad Request'}

My example spreadsheet has three columns named, "Messages", "To" and 
"When". The spreadsheet's name is "MessagesSent". I know the 
spreadsheet_key and id (od6) per instructions in the above example. I am 
trying to insert data into spreadsheet by:
# initialize gd_client etc. above
entry = gd_client.InsertRow(d, spreadsheet_key, worksheet_id)

Please let me know if you need more information to help. Thank you so much 
if anyone can help me move forward with my project.

-plartoo

Reply via email to