Open AdelaideBaron opened 1 month ago
Moved counterPath to class level
added checkAPILimitIsNotReached method. This method checks to see if the API call limit for the day is reached
Added logic to getOpenWeatherAPIResponse, will return TOO_MANY_REQUESTS Status if limit has been reached
Made checkDateAndAddCounter void
Removed some logic in checkDateAndAddCounter that would tell user if API call limit is reached as this is now handled elsewhere
Moved counterPath to class level
added checkAPILimitIsNotReached method. This method checks to see if the API call limit for the day is reached
Added logic to getOpenWeatherAPIResponse, will return TOO_MANY_REQUESTS Status if limit has been reached
Made checkDateAndAddCounter void
Removed some logic in checkDateAndAddCounter that would tell user if API call limit is reached as this is now handled elsewhere
Description
Checklist
Any other info