m-wrzr / populartimes

MIT License
815 stars 167 forks source link

Documentation for search points #72

Closed JosiahParry closed 5 years ago

JosiahParry commented 5 years ago

I'm currently using the api and I'm placing two points p1 = (42.3567157,-71.0649089); p2 = (42.3524027,-71.0676424). This returns 0 results but I am seeing that the this is hitting the API in the google console.

Could you provide documentation as to how the search area is created? i.e. is the first point the top left area of a square and the p2 the bottom right?

sedlund commented 5 years ago

https://github.com/m-wrzr/populartimes/blob/master/populartimes/crawler.py#L114

:param b1: south-west bounds [lat, lng]
:param b2: north-east bounds [lat, lng]
JosiahParry commented 5 years ago

Thank you for showing me that. That documentation isn't shown in the jupyter lab docstring.

Screen Shot 2019-04-20 at 16 44 36