Metadata-Version: 2.4
Name: gather-leads
Version: 0.1.0
Summary: Utility to create an Excel file from a text query to Google Places
License-Expression: MIT
Project-URL: Repository, https://github.com/papanikos/gather-leads.git
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: pandas>=2.2.3
Requires-Dist: requests>=2.32.3
Dynamic: license-file

# gather-leads

A minimal, proof-of-concept command-line tool to post a text query on Google's Places API and write the results in
an Excel file.

## Installation

```
$ pip install gather-leads
```

## Usage

```
usage: gather-leads [-h] [--version] SEARCH_TEXT API_KEY OUTPUT

positional arguments:
  SEARCH_TEXT  Input query
  API_KEY      Your API key
  OUTPUT       Output file

options:
  -h, --help   show this help message and exit
  --version    show program's version number and exit
```

You need to generate your own Google API key. Instructions [available here](https://support.google.com/googleapi/answer/6158862?hl=en).

Example:

```
export MY_KEY=SomeLongString
gather-leads 'spicy vegan food New York' $MY_KEY spicy.xlsx
```
