Giter Club home page Giter Club logo

Comments (7)

jasonsbarr avatar jasonsbarr commented on August 23, 2024

Have you tried logging from a then callback?

from airbnbapi.

pbvillaflores avatar pbvillaflores commented on August 23, 2024

This function stopped working for me too. It worked from earlier this year but stopped working about a couple months ago.

from airbnbapi.

d668 avatar d668 commented on August 23, 2024

@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.

d668 avatar d668 commented on August 23, 2024

@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.

JaLe29 avatar JaLe29 commented on August 23, 2024

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.

circuitry avatar circuitry commented on August 23, 2024

Was anyone able to get this working?

from airbnbapi.

bobmarley29 avatar bobmarley29 commented on August 23, 2024

@circuitry @JaLe29 that one works fine https://github.com/drawrowfly/airbnb-private-api

from airbnbapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.