Fetched and recorded schedule data from the API