api-101-workshop

API 101 Workshop: Shell

Getting started

To install all of the dependencies, please follow the next steps:

  1. Install Curl [Ubuntu or Mac]
  2. Install jq

     sudo apt-get install jq  # Ubuntu
     brew install jq  # Mac
    

APIs

UI Names

Generate random fake names

sh src/ui_names.sh AMOUNT

This script will use a JSON response like this one:

{
    "name": "Katherine",
    "surname": "Baker",
    "gender": "female",
    "region": "United States"
}

for printing a random personality as many times as AMOUNT specifies.