et</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="n">mock</span><span class="p">)</span>
</code></pre>

<p>The <code>mock</code> configuration directs all requests to a custom server that returns a predefined responses for each of the owner API endpoints allowing you to work with some real-looking data to work with without having to own 