/// <summary> /// Create a new LifxClient that can perform actions over the HTTP API. /// </summary> /// <param name="token">User token as generated from https://cloud.lifx.com/settings </param> public LifxClient(string token) { auth = "Bearer " + token; lifxApi = Refit.RestService.For <ILifxApi>("https://api.lifx.com/v1beta1"); }