Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
[deleted comment]
This was my old code.
public Dictionary<string, string> GetAccounts_old(string username, string password, string myservice)
{
AccountQuery feedQuery = new AccountQuery();
AnalyticsService service = new AnalyticsService(myservice);
Dictionary<string, string> accounts = new Dictionary<string, string>();
try
{
if (!string.IsNullOrEmpty(username))
{
service.setUserCredentials(username, password);
}
foreach (AccountEntry entry in service.Query(feedQuery).Entries)
{
accounts.Add(entry.ProfileId.Value, entry.Title.Text);
}
}
catch (Exception ex)
{
throw new Exception("There was a problem: " + ex.Message);
}
return accounts;
}
Original comment by michael....@tbwachiat.com
on 12 Sep 2012 at 3:01
Did google migrate away from 2.3 without a working C# demo?
I'm curious.
Original comment by michael....@tbwachiat.com
on 12 Sep 2012 at 4:08
The Google Analytics API v3 is supported by a different library:
http://code.google.com/p/google-api-dotnet-client/
Please only use the issue tracker to report issues, for other requests related
to this library you can post on the discussion group:
https://groups.google.com/group/gdata-dotnet-client-library?pli=1
Original comment by ccherub...@google.com
on 12 Sep 2012 at 7:02
Original issue reported on code.google.com by
michael....@tbwachiat.com
on 11 Sep 2012 at 7:36