Made intial connection to API following first half of guide