More fixes

This commit is contained in:
2021-08-09 20:22:35 -04:00
parent 3973feb1d2
commit 2a467ba701
2 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
Program.cs
# ---> Emacs
# -*- mode: gitignore; -*-
*~

14
Program.cs Normal file
View File

@ -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);
}
}