Skip to content

Instantly share code, notes, and snippets.

@rajeshpv
Created October 4, 2024 02:05
Show Gist options
  • Save rajeshpv/6c7bda8c0496c663b332849d1cffe2f7 to your computer and use it in GitHub Desktop.
Save rajeshpv/6c7bda8c0496c663b332849d1cffe2f7 to your computer and use it in GitHub Desktop.
public api for facility details

Here is a summary of public or commercial APIs for facility details like building area, living capacity, etc., based on postal address:

API Name Purpose Data Provided Access Website
Zillow API Provides real estate data Home size, lot area, home values, historical data Requires registration Zillow API
Estated API Comprehensive property data Lot size, building area, rooms, property tax, owner info Subscription required Estated API
Regrid API Parcel and land data Parcel boundaries, building info, land use Paid access with free tier Regrid API
CoreLogic Property Detailed property-related data Property size, living capacity, room count, property value Commercial, subscription-based CoreLogic
ATTOM Data Solutions Property and real estate data Building area, property type, occupancy info Commercial, subscription required ATTOM API
Here API Geocoding and search services Building footprint, parcel data, location details Free and paid plans available Here API
Google Places API Location data, facilities, and business information Address-based details, building information, living capacity Free tier with commercial pricing Google Places API
OpenCage API Geocoding services for postal address lookup Geographic and location-related data Free and paid plans OpenCage API

This table summarizes some of the most widely-used public and commercial APIs available to retrieve facility and building details based on postal addresses. Each API has different features and pricing, so you can choose based on your needs.

@rajeshpv
Copy link
Author


alias ll='ls -alrt'
alias r='reset'
alias h='history'
alias now='date +"%m-%d-%Y_%H-%M-%S_%Z_%N"'

alias mci='mvn -U -T 8 clean install'
alias mcis='mvn -U -T 8 clean install -DskipTests'
alias mcc='mvn -U -T 8 clean compile'

alias awswho='aws sts get-caller-identity'

alias d-mongosh='docker run --rm -it --entrypoint mongosh mongo:6.0.16 --quiet'

mkcd(){
        echo $1 && mkdir -p "$1"  && cd "$_"
}

ggc(){
    if [[ -z "$1" ]]
    then
          git commit -am "Dev Commit `date +'%Y-%m-%d %H:%M:%S'`"
    else 
          git commit -am "$1"    
    fi
}

ggcp(){
    if [[ -z "$1" ]]
    then
          git commit -am "Dev Commit `date +'%Y-%m-%d %H:%M:%S'`"
    else 
          git commit -am "$1"    
    fi
    
    git push
}

use_java_22() { sdk use java  22.0.1-amzn ; }        
use_java_21() { sdk use java  21.0.3-amzn ; }        
use_java_17() { sdk use java  17.0.11-amzn; }        
use_java_11() { sdk use java  11.0.23-amzn; }        
use_java_8()  { sdk use java  8.0.412-amzn; } 

does_container_exist(){ 
  return [ $(docker ps -a | grep $1 | wc -l) == "1" ]; 
}

is_container_stopped(){ 
  if [ does_container_exist "$1"]; then
    return [$(docker ps -aq -f status=exited -f name=$1)]
  else 
    return false
  fi
}

is_container_running(){ 
  if [ does_container_exist "$1"]; then
    return [$(docker container inspect -f '{{.State.Status}}' $1 ) == "running" ];
  else 
    return false;
  fi
}

uvact(){ 
  pyversion="$1"

  if [[ "$pyversion" != "3.9" && "$pyversion" != "3.10" && "$pyversion" != "3.11" ]]; then
    echo "Error: Python version must be either 3.9 or 3.10 or 3.11"
    return 1
  fi

  uv venv ~/.venv/$pyversion --python $pyversion
  source ~/.venv/$pyversion/bin/activate
  echo "Activated: Python version: $(python -V) at ~/.venv/$pyversion"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment