Open d668 opened 4 years ago
Have you tried logging from a then
callback?
This function stopped working for me too. It worked from earlier this year but stopped working about a couple months ago.
@pbvillaflores because it is silly to assume just calling http endpoint will keep working. Have a look at https://github.com/mgp25/Instagram-API to get the idea what it takes to fool a mega corporation
@jasonsbarr await is the same as then
Anyway
var airbnb = require('airbnbapijs');
airbnb.listingSearch({
location: 'Akihabara, Tokyo'
})
.then(x =>
console.log(x)
)
.catch(x =>
console.log(x)
);
doesn't go into error, goes into then and undefined
Same for me, return undefined
.
Looks like there is also problem with catch block (log doesn`t work??).
After replace log.e
to console.error
I am getting :
StatusCodeError: 404 - {"error_code":404,"error_type":"record_not_found","error_message":"Unfortunately, this is no longer available.","error_id":"0901df9625d97646f8a8b1fa8eef9b89"}
I am using big cities in query like: Prague, New York, London...
Was anyone able to get this working?
@circuitry @JaLe29 that one works fine https://github.com/drawrowfly/airbnb-private-api
Copied from the readme
list is undefined