1.0.80724 โ€ข Published 2 months ago

@ignite-signals/api v1.0.80724

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Install package

  1. Install
# Using pnpm
pnpm add -D @ignite-signals/api

# Using yarn
yarn add --dev @ignite-signals/api

# Using npm
npm install --save-dev @ignite-signals/api
  1. Create your client
import { createClient } from '@ignite-signals/api'

const igniteSignalsClient = createClient('YOUR_API_KEY')
  1. Start using Ignite Signals! For example here we are checking if a vehicle is compatible with the service
try {
  const vehicle = igniteSignalsClient.compatibility.checkVehicleCompatibility.query({
    abiCode: '000000',
  })
  if (vehicle.compatible)
    console.log('wahooo ๐ŸŽ‰')
}
catch (error) {
  console.log(`error - ${error.code} ${error.message}`)
}
  1. Refer to the documentation for more help