Open karmon opened 6 years ago
Have the same question. How to get a valid API key?
@christophgasser what are you working on? you can reach me at assafkar at gmail
Sorry I didn't see this sooner. Here is how you generate an api key:
To set this API up, follow these steps: I assume you have node installed (nvm maybe?) and that you have a listing on AirBnb.
npm install bnbhostapi (or git clone git@github.com:davidplappert/bnbhostapi.git && npm install) export bnbhostapi_username='xxxxxxx' (replace with your email) export bnbhostapi_password='xxxxxxx' (replace with your password) node examples/login.js (this generates a oauth token we need for the rest of the api calls) export bnbhostapi_oauthtoken = xxxxxx (output from the above script) node examples/getPayouts.js (to make sure your setup is correct).
I will accept as much help as I can get with this! Just submit PRs and I will review them. @karmon @christophgasser
Hi @davidplappert! I hope to be able to improve the repo and start making some PR's soon! btw, where do you get the api key from in config.js?
@karmon follow these steps: https://github.com/davidplappert/bnbhostapi#to-set-this-api-up-follow-these-steps
Note, the token is generated in step 4
hi David! I understand how to get the auth token. My question is about the api key in the config. "'x-airbnb-api-key': '915pw2pnf4h1aiguhph5gc5b2'"
Yeah we need a new x-airbnb-api-key unfortunately
@davidplappert @karmon @earlvanze @christophgasser Any luck with the Aibnb API Key
I gave up and decided to pursue the integration via Smartbnb instead, since I already use their platform heavily for automation. They just opened their API and I can theoretically send messages to Airbnb via Smartbnb's messaging, as they have a legitimate Airbnb API key. https://www.smartbnb.io/?afmc=fj&utm_campaign=fj&utm_source=leaddyno&utm_medium=affiliate
Hi David! Great work in this repo, I would love to help you maintain it. I was wondering how the api key works. I tried to use the one you had in config and it worked for a while but than it stopped after a day. Is there a way to generate those keys?