TeslaInventoryNet 1.1.0
.NET 5.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TeslaInventoryNet --version 1.1.0
NuGet\Install-Package TeslaInventoryNet -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TeslaInventoryNet" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TeslaInventoryNet --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TeslaInventoryNet, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TeslaInventoryNet as a Cake Addin
#addin nuget:?package=TeslaInventoryNet&version=1.1.0
// Install TeslaInventoryNet as a Cake Tool
#tool nuget:?package=TeslaInventoryNet&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Retrieves real-time inventory from Tesla.
Usage
var results = TeslaInventory.Search(Location.US, new SearchCriteria() { Model = "m3", Condition = "used"});
foreach (var result in results)
{
Console.WriteLine($"\nhttps://www.tesla.com/{result.Model}/order/{result.Vin}"
+ $"\n{result.Year} {result.Model}"
+ $"\n{result.TrimName}" + (result.IsDemo ? " Demo" : "")
+ $"\n{result.Options.Where(x => x.Group == "PAINT").Select(x => x.Name).FirstOrDefault()}"
+ (result.Autopilot.Contains("AUTOPILOT_FULL_SELF_DRIVING") ? "\nFull Self-Driving Capability" : "")
+ $"\n{result.City}, {result.StateProvince}");
}
License
TeslaInventoryNet © Brad Walker, released under the MIT License.<br> Authored and maintained by Brad Walker with help from contributors.
GitHub Brad Walker · Twitter @braddwalker
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 106.12.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.1 | 223 | 10/6/2022 |
1.4.0 | 222 | 10/6/2022 |
1.3.18 | 211 | 12/27/2021 |
1.3.16 | 242 | 11/1/2021 |
1.3.15 | 293 | 10/31/2021 |
1.3.14 | 318 | 10/30/2021 |
1.3.13 | 210 | 10/25/2021 |
1.3.12 | 211 | 10/22/2021 |
1.3.11 | 207 | 10/22/2021 |
1.3.10 | 206 | 10/22/2021 |
1.3.9 | 231 | 10/21/2021 |
1.3.8 | 224 | 10/20/2021 |
1.3.7 | 223 | 10/20/2021 |
1.3.6 | 229 | 10/20/2021 |
1.3.5 | 288 | 10/17/2021 |
1.3.4 | 234 | 10/8/2021 |
1.3.3 | 274 | 10/7/2021 |
1.3.2 | 201 | 10/7/2021 |
1.3.1 | 207 | 10/6/2021 |
1.3.0 | 194 | 10/6/2021 |
1.2.2 | 204 | 10/5/2021 |
1.2.1 | 227 | 10/4/2021 |
1.2.0 | 231 | 10/4/2021 |
1.1.0 | 245 | 10/4/2021 |
1.0.0 | 243 | 10/4/2021 |
Initial release