# 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")
## log out
client.logout()
```
## advanced usage
coming soon
Raw data
{
"_id": null,
"home_page": "https://github.com/officeofperformancemanagement/gogov",
"name": "gogov",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "crm, data, gogov, python",
"author": "Daniel J. Dufour",
"author_email": "daniel.j.dufour@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/06/67/9b094f82cca9e9598879aee7c4a966e07303b95a7a89d1a3296440589117/gogov-0.2.0.tar.gz",
"platform": null,
"description": "# gogov\nUnofficial API Client for GoGov CRM\n\n## install\n```sh\npip install gogov\n```\n\n## basic CLI usage\n```sh\ngogov export-requests --email=\"jdoe@fakecity.gov\" --password=\"2c56477e97ab8b2d180a6513\" --site=\"fakecityXYZ\" --city-id=\"123\" $PWD/requests.csv\n```\n\n## basic Python usage\n```python\nfrom gogov import Client\n\n# client automatically logs in when initialized\nclient = Client(\n username = \"jdoe\",\n password = \"2c56477e97ab8b2d180a6513\",\n site = \"fakecityXYZ\",\n city_id = \"123\"\n)\n\n## download csv of all requests to a file\nclient.export_requests(\"requests.csv\")\n\n## log out\nclient.logout()\n```\n\n## advanced usage\ncoming soon\n",
"bugtrack_url": null,
"license": null,
"summary": "Unofficial API Client for GoGov CRM",
"version": "0.2.0",
"project_urls": {
"Download": "https://github.com/officeofperformancemanagement/gogov/tarball/download",
"Homepage": "https://github.com/officeofperformancemanagement/gogov"
},
"split_keywords": [
"crm",
" data",
" gogov",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "06679b094f82cca9e9598879aee7c4a966e07303b95a7a89d1a3296440589117",
"md5": "3c97b53631879c5ed1c3d295aa852a0a",
"sha256": "7b0c4035511859a81f7b2b0bbffad560b57c85b31c109ecb8c1b620838814252"
},
"downloads": -1,
"filename": "gogov-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "3c97b53631879c5ed1c3d295aa852a0a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7037,
"upload_time": "2025-02-06T04:11:39",
"upload_time_iso_8601": "2025-02-06T04:11:39.036452Z",
"url": "https://files.pythonhosted.org/packages/06/67/9b094f82cca9e9598879aee7c4a966e07303b95a7a89d1a3296440589117/gogov-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-06 04:11:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "officeofperformancemanagement",
"github_project": "gogov",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "flatmate",
"specs": []
},
{
"name": "requests",
"specs": []
}
],
"lcname": "gogov"
}