semvec/pypi-packages huggingface dataset:
gogov 0.8.4
Unofficial API Client for GoGov CRM
Keywords: crm, data, gogov, python

# gogov
Unofficial API Client for GoGov CRM

## install
```sh
pip install gogov
```

## basic CLI usage
```sh
gogov export-requests --email="jdoe@fakecity.gov" --password="2c56477e97ab8b2d180a6513" --site="fakecityXYZ" --city-id="123" $PWD/requests.csv
```

## basic Python usage
```python
from gogov import Client

# client automatically logs in when initialized
client = Client(
    username = "jdoe",
    password = "2c56477e97ab8b2d180a6513",
    site = "fakecityXYZ",
    city_id = "123"
)

## download csv of all requests to a file
client.export_requests("requests.csv")

## Submit a 311 request
location = {
    "shortAddress": "123 Any Street, Anytown, TN, 12345",
    "coordinates": {
        "longitude": -12.345678
        "latitude": 87.654321
    }
}

# Use "fields" for any additional necessary fields
client.submit_request(
    topic_id="12345"
    location=location,
    description="Test"
    contact_id=1234567
    assigned_to_id=7654321
    fields = [{"id": "field1", "value": "value1"}, {"id": "field2", "value": "value2}]
)

## log out
client.logout()
```

## advanced usage
coming soon
coole 0.0.1
A Python tool to get Google autosuggest keywords.
Requires Python: >=3.7

# coole

A Python tool to get Google autosuggest keywords with recursive search and a rich terminal UI.

## Installation

Install `coole` using pip:

```bash
pip install coole
```

Alternatively, you can install it from the source:

```bash
git clone https://github.com/your-username/coole.git
cd coole
pip install .
```

## Usage

```bash
coole <query> [options]
```

### Parameters

*   `query`: The initial search query (required).
*   `-d`, `--depth`: The depth of the recursive search (optional, default: 1).

### Examples

#### Basic Usage

To get suggestions for the query "python":

```bash
coole python
```

#### Recursive Search

To perform a recursive search with a depth of 2 for the query "python":

```bash
coole python -d 2
```

## How it works

`coole` fetches suggestions from Google's autosuggest API. It can perform a recursive search, where it takes the suggestions from the initial query and uses them as new queries to find more suggestions. The results are displayed in a clean and readable table in your terminal.