Install linxio-js and make your first authenticated Linxio request. This guide will walk you through the process of installing the package, creating a client, and making your first authenticated request.
Clients are reusable once you've created one, so they can be instantiated once in a configuration file, service, or other location and imported as needed. You can optionally pass options to configure
timeout, retry behaviour, and a custom fetch implementation. See the createClient Reference for more details.
This will return a paginated list of vehicles, with a maximum of 100 vehicles per page. You can also use the vehicles.iterate() method to auto-page everything into one array, or the vehicles.stream() method for lazy async iteration.