parsed json to get temperature