Bowmark AIdocs

Lonely Planet

Travel guides: destination guides, site search, Best in Travel picks, curated trips and guidebooks.

Domain: lonelyplanet.com

Also known as: Lonely Planet, LonelyPlanet

Call it directly

bowmark.providers.lonelyplanet.search(query: string): Promise<LonelyPlanetSearchResult[]>

Functions

FunctionWhat it does
searchSearches lonelyplanet.com's site-wide index — destinations, articles, curated trip itineraries, guidebooks and points of interest — for a free-text query, the way the site's own search bar…

Types

interface LonelyPlanetSearchResult {
  title: string;
  subtitle: string | null;
  collection: string; // e.g. "destinationAssemblies", "products", "journeysItineraries"
  url: string;
}

Examples

// What does Lonely Planet's own search surface for "rome"?
const matches = await bowmark.providers.lonelyplanet.search("rome");
return matches.map((m) => ({ title: m.title, collection: m.collection, url: m.url }));