Appearance
All methods in the Car Class API are available through the carClass property of the iRacingAPI instance.
Car Class
carClass
iRacingAPI
Get the car classes.
const carClasses = await ir.carClass.getCarClasses();
https://members-ng.iracing.com/data/carclass/get