Create a GeoJSON file of HomeAway listings in a bounding box.
- Request access to the HomeAway Developer API.
- Create a new client on the My Clients page.
- Set the HOMEAWAY_CLIENT_ID and HOMEAWAY_CLIENT_SECRET environment variables in your operating system to your client values.
- Install Node.js.
- Download and extract zip file or
git clone
this repo. - From the command line
cd
into the directory and runnpm install
. - Optionally, change the
lowerLeftLatitude, lowerLeftLongitude, upperRightLatitude, upperRightLongitude
variables in theindex.js
file. It is set to the San Juan County, WA by default. - Run
node index.js
to create or update thehomeaway-listings.json
file. - View the
homeaway-listings.json
file in http://geojson.io.