Booli API Node wrapper provides access to the Booli Api.
🔗 For a detailed API description, please see the full api reference
npm install --save node-booli
Initialize
const Booli = require('node-booli');
All methods uses fetch
under the hood
Listings
const query = {
q: 'Stockholm',
minRooms: 2,
maxRooms: 3,
};
const listingsResponse = await Booli.listings.all(query); // Fetch all listings.
const singleResponse = await Booli.listings.single(1); // Fetch one item with the id of 1
Sold
const query = {
q: 'Stockholm',
minRooms: 2,
maxRooms: 3,
maxPrice: 3500000,
};
const soldResponse = await Booli.sold.all(query); // Fetch all sold given the parameter
Areas
const areasResponse = await Booli.areas.getAreas([
'Midsommarkransen',
'Stockholm',
]); // fetch areas
git clone https://github.com/filipchr/node-booli
cd node-booli
Install dependencies
npm install
Run example
node example.js
Bug reports and pull requests are welcome on GitHub at https://github.com/filipchr/node-booli
All data provided belongs to Booli Search Technologies AB.
This packages is powered by Booli