Basic C# library for interacting with Tesla's Owner API, based on https://tesla-api.timdorr.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
392 B

// APIResponseRoot myDeserializedClass = JsonConvert.DeserializeObject<APIResponseRoot>(myJsonResponse);
// https://json2csharp.com/
namespace Tesla {
public class CommandResponse
{
public bool result { get; set; }
public string reason { get; set; }
}
public class APIResponseRoot
{
public CommandResponse response { get; set; }
}
}