// Search
const rentals = await borough.rentals.search({ areas: "120", minBeds: 2 });
const sales = await borough.sales.search({ areas: "200", maxPrice: 1_000_000 });
// Property details
const listing = await borough.listings.get("4961849");
const history = await borough.listings.history("4961849");
const fees = await borough.listings.fees("4961849");
const openHouses = await borough.listings.openHouses("4961849");
// Building data
const building = await borough.buildings.get("some-building-slug");
const scores = await borough.buildings.scores("some-building-slug");
const violations = await borough.buildings.violations("some-building-slug");
const buildingListings = await borough.buildings.listings("some-building-slug");
// Areas
const allAreas = await borough.areas.list();
const neighborhoods = await borough.areas.list({ level: 2, borough: 100 });
// Market data
const snapshot = await borough.market.snapshot({ areaId: 120, bedrooms: 1 });
const trends = await borough.market.trends({ areaId: 120 });
const comparison = await borough.market.compare({ areas: "120,200,300" });