Pulling and storing info from the api