n><span class="nf">setAccessToken</span><span class="p">(</span><span class="n">accessToken</span><span class="p">)</span>
<span class="p">}</span>
</code></pre>
<h2 id='vehicle-list' class='heading'>Vehicle List</h2>

<p>Obtain a list of vehicles associated with your account</p>
<pre class="highlight swift"><code><span class="n">teslaAPI</span><span class="o">.</span><span class="nf">getVehicles</span> <span class="p">{</span> <span class="p">(</span><span class="n">httpResponse</span><span class="p">,</sp