issues
search
AdelaideBaron
/
mrc-condition-checker
An application to check the weather conditions of Mersey Rowing Club at the 6am and 6pm (for morning and evening sessions) to see if boats can go ahead.
MIT License
0
stars
0
forks
source link
counter for open weather calls
#18
Closed
AdelaideBaron
closed
1 month ago
AdelaideBaron
commented
4 months ago
Step 1:
investigate how to implement
minimise resources
is there an api to call from open weather for this?
or do we need to keep count in the service?
if so, how to do (without a database)?
could have a very simple file with the dates...
step 2:
implement
re-review
https://home.openweathermap.org/subscriptions
- check it's 1000 calls limit
AdelaideBaron
commented
3 months ago
plan to put message on website when getting close to limit
AdelaideBaron
commented
1 month ago
Manual Testing scenarios
Method
run app
hit endpoint
view .txt file
edit .txt file as required to modify scenarios
Scenarios
hit endpoint -> counter updates
empty text file - what happens
no text file - what happens?
modify .txt file to 799, then hit endpoint -> should log correct number of calls left for the day
modify .txt file to have yesterday's date, then hit endpoint - should be reset & correct for today
Step 1:
step 2: