Getting data from weather endpoint.