A Python wrapper for the Maricopa County Assessor API.
Project description
# API Token
Use of this library requires obtaining an API Key from The Maricopa County Assessor’s Office. This can be done by visiting https://preview.mcassessor.maricopa.gov/contact/ and filling out the form.
Change the “Subject” Field to “API Token/Question”, provide your name, number, and a brief note. Then click “Send Message”. MCA’s web developer will send you an email shortly after with the API Key.
Once you have the token, all you need to do is import mcaapi. The first time this is run, it will prompt you for the API token. Simply paste the token into the prompt, and it will store it in a file located in the source directory of the library.
# Classes
The structure of the wrapper follows the same structure as the API documentation which can be downloaded here: https://preview.mcassessor.maricopa.gov/file/home/MC-Assessor-2021-API-Documentation.pdf
Not all API calls are supported at this time, per the documentation. I have still written methods for all of these, but they will only be functional after they fix the API.
Here is the documentation for each Class, which defines the inputs and outputs of each method, as well as examples.
## Search (mcaapi.Search)
### all(‘string’)
Takes an address, parcel number, name, zip code, city, etc, and returns a JSON object for matching results.
Example: mcaapi.Search.all(‘301 W Jefferson’)
### subdivisions(‘string’)
### realProperty(‘string’)
### bpp(‘string’)
### mh(‘string’)
### rentals(‘string’)
### propertyType(‘string’)
## Parcel (mcaapi.Parcel)
### propertyType(‘string’)
### details(‘string’)
### information(‘string’)
### address(‘string’)
### latlon(‘string’)
### valuation(‘string’)
### residential(‘string’)
### comps(‘string’)
### improvement(‘string’)
### owner(‘string’)
### rental(‘string’)
### zoning(‘string’)
### mcr(‘string’)
### sec_twn_rng(‘string’)
### subdivision(‘string’)
## MapID (mcaapi.MapID)
### parcel(‘string’)
### subdivisions(‘string’)
### bookmap(‘string’)
### secTwnRng(‘string’)
### mcr(‘string’)
## Business Personal Property/Mobile Homes (mcaapi.BPPMH)
### details(‘string’)
### account(‘string’)
### mhAccount(‘string’)
### mhVIN(‘string’)
## Exports (mcaapi.Export)
### realPropertySearch(‘string’)
### businessPropertySearch(‘string’)
### mobileHomeSearch(‘string’)
### rentalPropertySearch(‘string’)
## Property (mcaapi.Property)
## Deeds (mcaapi.Deed)
### deed(‘string’)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcaapi-0.0.5.tar.gz.
File metadata
- Download URL: mcaapi-0.0.5.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31a423af6790b8e7b8c5156b66c2c5481bfd019d178b98d2f1eba7d934ddc27c
|
|
| MD5 |
dd64af72490dcb6cf6b894a899a7760a
|
|
| BLAKE2b-256 |
a7848b516e43197a0573ff4367dc9bd926bf9323782b9516c5c626a1d301e2a3
|
File details
Details for the file mcaapi-0.0.5-py3-none-any.whl.
File metadata
- Download URL: mcaapi-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca6a9c6cb51ec1ab3fc16adfb4fd539a21cda868ab67efc26e721c7e8e640a1
|
|
| MD5 |
6e8bfd2e4d6b32c7e0e095b84fdaa8a1
|
|
| BLAKE2b-256 |
38a75f47cc61920568dadf59997bb820a5371b48ec5ee3d943130d570d13b1de
|