Getting Started

Follow this guide to start building with Lattis - Nexus. Learn how to set up your development environment and make your first API call.

Prerequisites

  • Basic knowledge of your preferred programming language
  • Understanding of RESTful APIs
  • Development environment set up

Step-by-Step Guide

1

Create an Account

Sign up for a Lattis - Nexus developer account

  • Visit the developer portal
  • Fill out the registration form
  • Verify your email address
  • Complete your profile
2

Generate API Keys

Create API keys for authentication

  • Navigate to API Keys in your dashboard
  • Click 'Create New API Key'
  • Select required permissions
  • Store your API key securely
3

Install SDK

Install the SDK for your preferred language

npm
npm install @lattis-nexus/sdk
pip
pip install lattis-nexus
maven
<dependency>
  <groupId>com.lattisnexus</groupId>
  <artifactId>sdk</artifactId>
  <version>2.0.0</version>
</dependency>
4

Initialize Client

Set up the client with your API key

javascript
import { LattisNexusClient } from '@lattis-nexus/sdk';

const client = new LattisNexusClient({
  apiKey: 'your_api_key'
});
python
from lattis_nexus import Client

client = Client(api_key='your_api_key')
5

Make First Request

Test your setup with a simple API call

javascript
// Get fleet vehicles
const vehicles = await client.fleet.getVehicles();
console.log('Total vehicles:', vehicles.length);
python
# Get fleet vehicles
vehicles = client.fleet.get_vehicles()
print('Total vehicles:', len(vehicles))