carsxe-api
Version:
CarsXE is a powerful, easy-to-use API that gives you instant access to a wide range of vehicle data, including specs, market value, license plate decoding, and more. Our API is designed to be fast, flexible, and scalable, so you can quickly and easily int
16 lines (15 loc) • 711 B
TypeScript
import { ImageInput, ObdcodesdecoderInput, PlateDecoderParams, VinInput } from './types';
export declare const Greeter: (name: string) => string;
export declare class CarsXE {
private apiKey;
constructor(apiKey: string);
private getApiKey;
private getApiBaseUrl;
specs({ vin }: VinInput): Promise<any>;
marketvalue({ vin }: VinInput): Promise<any>;
history({ vin }: VinInput): Promise<any>;
platedecoder({ plate, state, country }: PlateDecoderParams): Promise<any>;
images({ make, model, year, trim, color, transparent, angle, photoType, size, license, }: ImageInput): Promise<any>;
obdcodesdecoder({ code }: ObdcodesdecoderInput): Promise<any>;
}
export default CarsXE;