nderkach / airbnb-python

A Python wrapper around the Airbnb API (unofficial)
Do What The F*ck You Want To Public License
186 stars 66 forks source link

airbnb.Api method stopped working when providing email/password #25

Open eladhayun-rep-holdings opened 3 years ago

eladhayun-rep-holdings commented 3 years ago
import airbnb
api = airbnb.Api("some@email.com", "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
remybar commented 3 years ago

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

eladhayun-rep-holdings commented 3 years ago

@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 commented 3 years ago

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

kingfisher429 commented 3 years ago

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

jbertscher commented 3 years ago

Check out the related issue raised earlier.