Skip to content

Using the google places API to collect places and store them afterwards in an excel spreadsheet.

License

Notifications You must be signed in to change notification settings

argv1/places2xls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

places2xls

======================

places2xls helps to extract places using the google places API and store them in an excel spreadsheet.

Requirements

to install the required packages just use:

pip3 install -r requirements.txt

setup

  1. Register for a free Google Cloud Plattform Account
  2. Enable google places API(https://console.cloud.google.com/apis/library) in order to receive your API key.

Enter this api key here:

API_KEY = YOUR-API-KEY

usage

After you entered the above information, run the main.py with at least the required arguments -t for type of business and -z for zipcode

Usage: main.py -c COUNTRYCODE -z ZIPCODE -t TYPE - n NUMBER_OF_RESULTS -s STRICTLVL -v -d DETAILS

i.e. main.py -c DE -z 50667 -t restaurant - n 40 -s 2 -v -d "name, formatted_address, website, opening_hours"

Use main.py -h for a list of all options

License

This code is licensed under the GNU General Public License v3.0. For more details, please take a look at the LICENSE file.

outlook

  • Please feel free to enhance the script

About

Using the google places API to collect places and store them afterwards in an excel spreadsheet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages