nderkach / airbnb-python

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

Newbee Questions #23

Open rodroid3 opened 3 years ago

rodroid3 commented 3 years ago

Hello,

Sorry for the remedial questions here but I'm new to git hub and new to python. Can anyone give me direction on the following:

1) Is there a way to get a more localized set of lists for a given location?

For example: listings = api.get_homes("Long Beach, NY", offset=1000, items_per_grid=1000)

Gets me 100 locations but they are not all in the long beach area they are not geographically close to each other the listings. Is there away for me to give a coordinate and get the adjacently close listings? I tried to give the gps in api.get_homes but that doesn't seem to work too good.

2) Even though I'm setting offset and item_per_grid to 1000 I can only seem to grab 100 listings. I'm assuming that is a limit put in by airbnb?

Thanks for your help if you have the time. Nothing pressing here just trying to learn python.