Skip to content

Commit ab162a6

Browse files
committed
Added weather API challenge
1 parent 043968f commit ab162a6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

08-weather-check/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ These are some additional coding challenges to sharpen your Python programming s
1010
0. [Bowling Scores](https://github.com/PDXPythonPirates/code-challenges/tree/master/05-bowling-scores/)
1111
0. [A Grep Clone](https://github.com/PDXPythonPirates/code-challenges/tree/master/06-pygrep/)
1212
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/)
1314

1415

1516
## How to Contribute

0 commit comments

Comments
 (0)