">let</span> <span class="nv">teslaAPI</span> <span class="o">=</span> <span class="nf">TeslaAPI</span><span class="p">(</span><span class="nv">configuration</span><span class="p">:</span> <span class="o">.</span><span class="k">default</span><span class="p">)</span> <span class="c1">// same as TeslaAPI()</span>
</code></pre>

<p>The <code>default</code> configuration points to Tesla&rsquo;s production owner API</p>
<h2 id='mock' class='heading'>Mock</h2>
<pre class="highlight swift"><code><span class="k">l