2011-08-19 2 views
2

APIを使用してGoogle Picasaアカウントの残容量を取得するにはどうすればよいですか?APIを使用してGoogle Picasaアカウントの残容量を取得するにはどうすればよいですか?

私はこのコードを使用するが、それは2歳の質問ですが、それでも見つける人のために、答えはここにある任意のbytesusedタグ

FeedQuery query = new FeedQuery(); 
     PicasaService service = new PicasaService("xanaxzxzx"); 
     // Set your credentials: 
     service.setUserCredentials(username, password); 

     // Create the query object: 
     query.Uri = new Uri(String.Format("https://picasaweb.google.com/data/feed/api/user/{0}", HttpUtility.UrlEncode(username))); 

     // Tell the service to query: 
     AtomFeed calFeed = service.Query(query); 

答えて

0

を見ていない:

取得するには残りのクォータの量、 フィード/ gphotoを引く:フィード/ gphotoからquotacurrent:quotalimit値は、以下のフィードで が見つかりました:

https://picasaweb.google.com/data/feed/api/user/username撮影
The word default can be used in place of the username if you're using an authentication token. 

https://developers.google.com/picasa-web/faq#quota

+0

あなたはここで答えを投稿することができますか? (リンクに加えて) –

関連する問題