Bowmark AIdocs

millisaraylar.gov.tr — Türkiye Presidential Administration of National Palaces

Türkiye's Presidential Administration of National Palaces — the palace/kiosk/pavilion list, closed days and ticket-office hours, and…

Türkiye's Presidential Administration of National Palaces — the palace/kiosk/pavilion list, closed days and ticket-office hours, and domestic/domestic-student/foreign ticket prices for Topkapi Palace, Dolmabahçe Palace, Yıldız Palace, Beylerbeyi Palace and the other sites it administers, read straight off the site's own ticket-purchase and detail pages.

Domain: millisaraylar.gov.tr

Also known as: millisaraylar.gov.tr, Milli Saraylar, National Palaces (Türkiye), Topkapi Palace, Dolmabahce Palace

Call it directly

bowmark.providers.millisaraylar.getPalaces(): Promise<MillisaraylarPalace[]>
bowmark.providers.millisaraylar.getVisitingHours(query: string): Promise<MillisaraylarVisitingHours>
bowmark.providers.millisaraylar.getTicketPrices(query: string): Promise<MillisaraylarTicketPrices>

Functions

FunctionWhat it does
getPalacesReads the full palace/kiosk/pavilion/museum/factory list off millisaraylar.gov.tr's own site navigation.
getVisitingHoursMatches query against getPalaces()'s own listing (a substring match on the site's own display name, e.g. "Topkapi" or "Dolmabahce") and reads that site's closed day(s) and ticket-office…
getTicketPricesMatches query against millisaraylar.gov.tr's own ticket-purchase location list (a narrower set than getPalaces — only what is sold as a standalone ticket) and reads the domestic,…

Types

interface MillisaraylarPalace {
  id: string;
  name: string;
  url: string;
}
interface MillisaraylarVisitingHours {
  name: string;
  closedDays: string | null;           // the site's own text, e.g. "Tuesday"
  ticketOfficeOpeningTime: string | null; // "HH:MM"
  ticketOfficeClosingTime: string | null; // "HH:MM"
  url: string;
}
interface MillisaraylarTicketPrices {
  name: string;
  currency: "TRY";
  domestic: number | null;
  domesticStudent: number | null;
  foreign: number | null;
  url: string;
}

Examples

// What days is Topkapi Palace closed, and what time does its ticket office close?
const hours = await bowmark.providers.millisaraylar.getVisitingHours("Topkapi Palace");
return { closedDays: hours.closedDays, ticketOfficeCloses: hours.ticketOfficeClosingTime };
// What does a foreign visitor pay for a Dolmabahce Palace ticket?
const prices = await bowmark.providers.millisaraylar.getTicketPrices("Dolmabahce Palace");
return { foreign: prices.foreign, currency: prices.currency };