Access to Google spreadsheets using C # using Google data API is not possible using Mono

I am trying to access my Google spreadsheets using the GData API. I followed an example that looks like this:

var service = new SpreadsheetsService("myTest");
service.setUserCredentials(username, password);
var query = new SpreadsheetQuery();
var feed = service.Query(query);

This should return a spreadsheet feed. However, this fails:

Google.GData.Client.GDataRequestException: Request failed: http://spreadsheets.google.com/feeds/spreadsheets/private/full ---> System.Net.WebException: remote server returned an error: (404) Not found .

When I try the above link directly in my browser, I can download the feed while I’m signed in to my Google account.

Additional Information:

  • I am not behind a firewall.
  • (maurits.rijk gmail.com)
  • Mandriva VirtualBox MacBook
  • Mono

​​ Java OS-X. , .

+1
2

Google, 88 8.

,

mozroots --import --sync --quiet

. .

+1

.
, , ?

+1

Source: https://habr.com/ru/post/1748576/


All Articles