Skip to content

filipchr/node-booli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booli API Node wrapper

Booli API Node wrapper provides access to the Booli Api.

🔗 For a detailed API description, please see the full api reference

Getting started

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

Development

git clone https://github.com/filipchr/node-booli
cd node-booli

Install dependencies

npm install

Run example

node example.js

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/filipchr/node-booli

License

All data provided belongs to Booli Search Technologies AB.

This packages is powered by Booli

Booli logo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published