Created
March 29, 2021 20:14
-
-
Save SteveL-MSFT/557befb76a3be815bb82b5a71e396a9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($address) | |
$parcelUrl = 'https://gismaps.kingcounty.gov/parcelviewer2/addSearchHandler.ashx?add=' | |
$parcel = Invoke-RestMethod ($parcelUrl + [uri]::EscapeUriString($address)) | |
$id = $parcel.items.pin | |
$propertyUrl = 'https://gismaps.kingcounty.gov/parcelviewer2/pvinfoquery.ashx?pin=' | |
$property = Invoke-RestMethod ($propertyUrl + $id) | |
$property.items |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment