public getUserDetails ( string username ) : com.vzaar.api.UserDetails | ||
username | string | is the vzaar login name for the user. Note: This must be the actual username and not the email address |
Результат | com.vzaar.api.UserDetails |
static void Main(string[] args) { var api = new Vzaar("username", "token"); var details = api.getUserDetails("skitsanos"); Console.WriteLine("Videos owned: " + details.videoCount); Console.WriteLine("Storage used: " + String.Format(new FileSizeFormatProvider(), "File size: {0:fs}", details.videosTotalSize)); Console.WriteLine("Bandwidth this month: " + String.Format(new FileSizeFormatProvider(), "File size: {0:fs}", details.bandwidthThisMonth)); }