Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 749 Bytes

readme.md

File metadata and controls

38 lines (30 loc) · 749 Bytes

Daft Parser

Test coverage statements Test coverage branches Test coverage functions Test coverage lines


This project was created to parse listings from the popular Irish property website https://daft.ie/


Usage

import { getDaftListings } from "daft-parser";

getDaftListings({
    area: "dublin-city",
}).then((r) => console.log(r));

Result

[
  {
    id: 5797876,
    bathrooms: 1,
    bedrooms: 1,
    type: 'Apartment',
    location: 'Dublin 8',
    price: 1500
  },
  { id: 5797547, type: 'Studio', location: 'Dublin 1', price: 1400 },
  ...
]