diff --git a/.gitignore b/.gitignore index e7ad6c6..3f148b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -Program.cs # ---> Emacs # -*- mode: gitignore; -*- *~ diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..4114787 --- /dev/null +++ b/Program.cs @@ -0,0 +1,14 @@ +using System; +using Tesla; + class Program + { + static void Main(string[] args) + { + Client c = new Client(); + c.setToken("Bearer qts-f00bf78032efde5ad09c31eac45c85fb4632f377ca5767f589d2d1aca07f1703"); + Vehicle v = c.ListVehicles()[0]; + c.vehicle_id = v.id_s; + Console.WriteLine(v.display_name); + } + + }