Skip to content

Instantly share code, notes, and snippets.

@SteveL-MSFT
Created March 29, 2021 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveL-MSFT/557befb76a3be815bb82b5a71e396a9a to your computer and use it in GitHub Desktop.
Save SteveL-MSFT/557befb76a3be815bb82b5a71e396a9a to your computer and use it in GitHub Desktop.
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