zxol / airbnbapi

Unofficial airbnb.com REST API wrapper for node.js
MIT License
218 stars 52 forks source link

some queries about airbnb.listingSearch method #30

Open pbvillaflores opened 5 years ago

pbvillaflores commented 5 years ago
  1. Is the returned .metadata.listings_count value representing the number of results found? I can't find any other field that is providing a count.

  2. Assuming #1 is correct, when there are a lot of results (>350), I observed that only the first 350 listings returned is unique (this is involving incrementing the offset at each iteration by 50). If you try to get more after that the results are just a duplicate of what was previously returned.