TypeScript: Data SDK

Fetch vehicle data using Data SDK

Overview

The DIMO Data SDK is an open-source TypeScript SDK built to facilitate developers in connecting to the API Services. The objective of the Data SDK is to handle things that interacts with the DIMO API.

Getting Started

To get started with the Data SDK, you should always start by defining which API your application is interested in using. Depending on the different API combinations, you may need the following:

  1. access_token

    1. Developer's JWT: This uses the Developer License public credentials and the private key (API key) of the app. A developer would get this JWT on the backend through Wallet-based Auth.

    2. User's JWT: This uses the Developer License public credentials and the user's stampers (Passkey, etc). A developer would get this JWT from utilizing Login with DIMO or through Wallet-based Auth.

  2. permissions_token: This is the 2nd layer of security around getting vehicle data. A developer would first need end users to grant permissions to the Developer License, and then get this JWT through Token Exchange.

Using the SDK

Contributions

Last updated