Avis
Car rental — availability search, existing-reservation lookup and location directory on avis.com. searchLocations and getLocation are live; the rest are…
Car rental — availability search, existing-reservation lookup and location directory on avis.com. searchLocations and getLocation are live; the rest are stubs.
Domain: avis.com
Also known as: Avis, Avis Car Rental, Avis Budget Group
Call it directly
bowmark.providers.avis.searchLocations(args: object): Promise<AvisLocationRow[]>
bowmark.providers.avis.getLocation(args: object): Promise<AvisLocationDetail>Functions
| Function | What it does |
|---|---|
searchLocations | Finds Avis rental locations matching a full city name or an airport code (query, e.g. "Chicago" or "ORD" — an exact token match, not a substring or address search) off the site's own… |
getLocation | Reads one Avis rental location in full off the site's own location-search API for a station code (mnemonic, e.g. "ORD"). For an airport code, cityName is optional and the mnemonic… |
Types
interface avisRow {
id: string;
}
interface AvisLocationRow {
mnemonic: string;
name: string;
group: string;
address: {
line1: string;
line2: string | null;
city: string;
stateCode: string | null;
postalCode: string | null;
countryCode: string | null;
countryName: string | null;
};
phone: string | null;
latitude: number | null;
longitude: number | null;
drivableDistanceMiles: number | null;
is24hoursDropOffAvailable: boolean;
isKeyDropLocation: boolean;
relPath: string | null;
}
interface AvisLocationDetail extends AvisLocationRow {
hoursOfOperation: {
dayOfWeek: number;
day: "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY";
intervals: { openMinute: number; closeMinute: number }[];
isClosed: boolean;
}[];
holidays: { scheduleName: string; date: string }[];
associatedLocation: { mnemonic: string | null; name: string | null } | null;
isCorporate: boolean;
isSelfServiceKiosk: boolean;
isFreePickup: boolean;
isTruck: boolean;
isAvisFirstLocation: boolean;
maxLengthOfRental: number | null;
locationVehicleCategory: string | null;
}