airbnb-python icon indicating copy to clipboard operation
airbnb-python copied to clipboard

airbnb.Api method stopped working when providing email/password

Open eladhayun-rep-holdings opened this issue 3 years ago • 5 comments

import airbnb
api = airbnb.Api("[email protected]", "password")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eladh/Development/yalarent/yalarent-airbnb-connector/.venv/lib/python3.9/site-packages/airbnb/api.py", line 142, in __init__
    raise VerificationError
airbnb.api.VerificationError

eladhayun-rep-holdings avatar Apr 30 '21 06:04 eladhayun-rep-holdings

Have you tried that ? https://github.com/nderkach/airbnb-python#-verificationerror-420

remybar avatar Apr 30 '21 06:04 remybar

@remybar thanks for your reply, yes generally in my code i'm reusing the token:

airbnb_api.login(
        airbnb_access_token=airbnb_access_token, proxy_servers=load_proxiy_list()
    )

eladhayun-rep-holdings avatar Apr 30 '21 07:04 eladhayun-rep-holdings

its just that the details api stopped working, (someone opened a ticket about it yesterday and closed it) he sayed a new token needs to be retreived so i tried that...

eladhayun-rep-holdings avatar Apr 30 '21 07:04 eladhayun-rep-holdings

Is there a work around? Is so could someone please explain it.

kingfisher429 avatar May 02 '21 13:05 kingfisher429

Check out the related issue raised earlier.

jbertscher avatar May 04 '21 19:05 jbertscher