A .NET client library for the Tesla Owner API
This API is largely based on the community maintained API Documentation from Tim Dorr.
A .NET client library for the Tesla Owner API
Home Page: https://tesla-api.timdorr.com/
License: Apache License 2.0
A .NET client library for the Tesla Owner API
This API is largely based on the community maintained API Documentation from Tim Dorr.
I get the following response:
{"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}
Please extend the readme with atleast a simple example explaining how to use the framework. I'm unable to use it.
For example, I tried the following but it doesnt work. Maybe my access token is incorrect but it is also unclear how to obtain an access token in the first place.
var result = await client.GetVehiclesAsync(TESLA_ACCESS_TOKEN);
var vehicles = result.Data.Response;
foreach (var vehicle in vehicles)
{
Console.WriteLine(vehicle.DisplayName);
}
TimeToFullCharge is declared as
long? TimeToFullCharge { get; }
But the value return from my Model 3 is in hours.minutes.
When I query the time remaining which is 5.15 (5 hours and 15 minutes), the result of TimeToFullCharge is 5.
Any chance you'll consider adding GetVehicleDataAsync that responds with a rollup of all the data_request endpoints plus vehicle configuration?
As in: https://tesla-api.timdorr.com/vehicle/state/data
Thnx
I think the models need to allow nullable types for somethings. I'm getting this querying a Model 3:
Newtonsoft.Json: Error converting value {null} to type 'System.Int64'. Path 'response.sun_roof_percent_open', line 1, position 619. System.Private.CoreLib: Null object cannot be converted to a value type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.