Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kumpeapps/zuercherportal_api
https://github.com/kumpeapps/zuercherportal_api
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kumpeapps/zuercherportal_api
- Owner: kumpeapps
- License: gpl-3.0
- Created: 2024-09-13T21:16:29.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-17T23:30:22.000Z (4 months ago)
- Last Synced: 2024-11-09T08:43:06.530Z (about 2 months ago)
- Language: Python
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zuercherportal_api
![PyPI - Version](https://img.shields.io/pypi/v/zuercherportal_api) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/zuercherportal_api)
![PyPI - License](https://img.shields.io/pypi/l/zuercherportal_api)## Install
```pythonpip install zuercherportal_api
```
## Usage
Manually Supplied Jail Prefix:
```python
import zuercherportal_api as zuercherportaljail_api = zuercherportal.API(jail_id="benton-so-ar")
inmate_data = jail_api.inmate_search()
```Using a Jail that is in our Database:
```python
import zuercherportal_api as zuercherportal
jail_api = zuercherportal.API(jail_id=zuercherportal.Jails.AR.BENTON_COUNTY)
inmate_data = jail_api.inmate_search()
```Filter The Results:
```python
import zuercherportal_api as zuercherportal
jail_api = zuercherportal.API(jail_id=zuercherportal.Jails.AR.BENTON_COUNTY)
inmate_data = jail_api.inmate_search(
inmate_name="",
race="all",
sex="all",
cell_block="all",
helf_for_agency="any",
in_custody_date="",
records_per_page=50,
record_start=0,
sort_by_column="name",
sort_descending=False,
)
```## Current Jails in our Database
Below are the jails we currently have in our database. Please feel free to raise issue or pull request to add additional jails.- State of Arkansas
- Benton County Jail
- Pulaski County Jail