gogov
Unofficial API Client for GoGov CRM
install
pip install gogov
basic CLI usage
gogov export-requests --email="jdoe@fakecity.gov" --password="2c56477e97ab8b2d180a6513" --site="fakecityXYZ" --city-id="123" $PWD/requests.csv
basic Python usage
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
Metadata
Release files for gogov 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gogov-0.8.4.tar.gz | 18.3 kB | Without provenance | Details for gogov-0.8.4.tar.gz |
Release files / gogov-0.8.4.tar.gz
| Download URL | gogov-0.8.4.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c79792ed16185dbcbc041444ac7f5045e1a5f458ded683dce2b1bd0669306815
|
|
BLAKE2b-256 checksum How to use checksums |
74d60a82b0496716aa743b49f4b0281c7b789b5a2accf3c9723225cb69a6dd8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for gogov 0.8.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.