getUserDetails() public method

This API call returns the user's public details along with it's relevant metadata.
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
return com.vzaar.api.UserDetails
Beispiel #1
0
		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));
		}