Comments (7)
Have you tried logging from a then
callback?
from airbnbapi.
This function stopped working for me too. It worked from earlier this year but stopped working about a couple months ago.
from airbnbapi.
@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
from airbnbapi.
@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
from airbnbapi.
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...
from airbnbapi.
Was anyone able to get this working?
from airbnbapi.
@circuitry @JaLe29 that one works fine https://github.com/drawrowfly/airbnb-private-api
from airbnbapi.
Related Issues (20)
- Is there a way of getting my current default working token ?
- is there a way to get reservations for a cohost? HOT 6
- Did the API stop working? 404 "Unfortunately, this is no longer available." HOT 9
- Co-Host Issua HOT 4
- Reading reviews
- API v3 (GraphQL) HOT 12
- getCalendar seem not working HOT 2
- Token is not generating HOT 4
- Retrieving experience details
- How to import? HOT 2
- v2 login endoing `/v2/logins` returns null. HOT 2
- Loglevel debug is not showing log.e() HOT 1
- Usage Examples in Documentation HOT 2
- v1 api seems not working anymore HOT 11
- Airbnb ToS compliance? HOT 2
- getPublicListingCalendar not working
- Access Denied HOT 8
- Has anyone else started getting 429 Too Many request responses?
- is this repo dead? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airbnbapi.