Google アナリティクス レポート API に接続して、基本的なページビュー統計を取得しようとしています。このチュートリアル( http://www.arboundy.com/2012/04/getting-started-with-google-analytics-in-c/ )に従おうとしています。Googleが最近APIを大幅に変更したようで、元の構成が機能していないように見えるため、認証を成功させるために正しいビットを設定するのに問題があります。
私が現在持っているものは次のとおりです。
Service = new AnalyticsService("MyDemoApp");
Service.setUserCredentials("user@gmail.com", "password");
AccountQuery AccountsQuery = new AccountQuery("https://www.googleapis.com/analytics/v3/data/ga"/*Not sure what goes here this gives a 400*/);
AccountFeed AccountsFeed = Service.Query(AccountsQuery); // 400 error here
V3 api (NuGet から取得したもののようです) を介してこれに接続する方法についてのアイデア