Browse Source

More fixes

master
Gregory Rudolph 3 years ago
parent
commit
2a467ba701
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 1
      .gitignore
  2. 14
      Program.cs

1
.gitignore vendored

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

14
Program.cs

@ -0,0 +1,14 @@ @@ -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);
}
}
Loading…
Cancel
Save