示例#1
0
 public static string Logout() => $"https://home.nest.com/dropcam/api/logout?_={UnixTime.GetCurrentUnixTimestampSeconds()}";
示例#2
0
 public static string GetImage(CameraInformation camera)
 {
     if (camera == null)
     {
         throw new ArgumentNullException("camera");
     }
     return(string.Format("https://{0}/get_image?uuid={1}&cachebuster={2}&width=1280", camera.nexus_api_nest_domain_host, camera.uuid, UnixTime.GetCurrentUnixTimestampSeconds()));
 }