Hi there,
I've placed some data in a Google Sheet. Then I File>Published it to the web. I'm now trying to read the data in JSON format using the URL
https://spreadsheets.google.com/feeds/list/1OUmpAgT8IgwNSa7OWh_YFAzCOXsvc5R9ZHlpqYdxdNo/default/public/values?alt=json
This URL works fine from my own computer. I get JSON and am able to further process it. But when I try it from pythonanywhere (web2py, using urllib.urlopen()), I don't get JSON. I get HTML which at some point says
The following error was encountered while trying to retrieve the URL: https://spreadsheets.google.com/feeds/list/1N2DmnSw4mJH8MPSsNOPM95-xmBkipV_Gx_hcqcQlSVc/default/public/values? Unsupported Request Method and Protocol Squid does not support all request methods for all access protocols. For example, you can not POST a Gopher request.
Can you suggest a solution to access the Google Sheet in JSON format? This is just a quick-and-dirty so I'd prefer not to have to go through an API like gspread if not needed.
Thank you for any suggestions! -Ricardo