File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Challenge: Check Current Weather
2
+
3
+ Write a program that queries the current weather from the [ Open Weather Map API] [ openwm ] .
4
+
5
+ > Note: you will need to sign up for a free account to obtain an ** API key** .
6
+
7
+ Your program should accept 2 different inputs:
8
+ - Query the API by ** zip code** when the user supplies numeric input.
9
+ - Otherwise query the API by city name using the supplied input.
10
+
11
+ As an added challenge how might you recognize and process a request based on supplied latitude and longitude values?
12
+
13
+ [ openwm ] : https://openweathermap.org/current
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ These are some additional coding challenges to sharpen your Python programming s
10
10
0 . [ Bowling Scores] ( https://github.com/PDXPythonPirates/code-challenges/tree/master/05-bowling-scores/ )
11
11
0 . [ A Grep Clone] ( https://github.com/PDXPythonPirates/code-challenges/tree/master/06-pygrep/ )
12
12
0 . [ Connect Four] ( https://github.com/PDXPythonPirates/code-challenges/tree/master/07-connect-four/ )
13
+ 0 . [ Check the Weather] ( https://github.com/PDXPythonPirates/code-challenges/tree/master/08-weather-check/ )
13
14
14
15
15
16
## How to Contribute
You can’t perform that action at this time.
0 commit comments