Giter Club home page Giter Club logo

google-places-api-search's Introduction

Google Places API Search

Python Medium BuyMeACoffee

Pasted image 20221023153042

Using googlemaps (geocode and places) fetch businesses and their details then output the results to .tsv

Quickstart

$ pip install -r requirements.txt
$ python main.py

Usage

$ 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

ENV

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.

google-places-api-search's People

Contributors

krsi-dev avatar

Stargazers

Michael Obasi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.