Using googlemaps (geocode and places) fetch businesses and their details then output the results to .tsv
$ pip install -r requirements.txt
$ python main.py
$ python main.py --help --ignore--gooey
usage: main.py [-h]
[--google_api_key GOOGLE_API_KEY]
[--places_search PLACES_SEARCH]
[--places_location PLACES_LOCATION]
[--places_type {...types}]
[--places_max_result PLACES_MAX_RESULT]
options:
-h, --help show this help message and exit
--google_api_key GOOGLE_API_KEY
google project api key make sure places and geocode API is enabled.
--places_search PLACES_SEARCH
filter the search results using a certain keyword
--places_location PLACES_LOCATION
filter the search results by location
--places_type {..types}
filter the search results with valid place types.
--places_max_result PLACES_MAX_RESULT
Limit the search to a specific number
GOOGLE_API_KEY=
PLACES_SEARCH=
PLACES_LOCATION=
PLACES_TYPE=
PLACES_MAX_RESULT=
DISCLAIMER
This repository has been created purely for learning purposes. Project maintainers are not responsible if a user gets banned, blocked or be liable for misuse of the tool. Use responsibly.