Skip to content

Commit

Permalink
Merge pull request #3 from nbogie/master
Browse files Browse the repository at this point in the history
correct broken url for weather data
  • Loading branch information
nbogie authored Jun 9, 2019
2 parents 6ca8b01 + 7850c34 commit b03bb2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ Now you've got your JSON sorted, it's time to fetch some real weather data!

### Getting the weather data

We'll be using data from this API: http://api.openweathermap.org/data/2.5/forecast

?q=${this.state.searchInput}&cnt=8&units=metric&appid=${apiKey}
We'll be using data from this API: http://api.openweathermap.org/data/2.5/forecast?q=${this.state.searchInput}&cnt=8&units=metric&appid=${apiKey}

The data will come in JSON format, and will look like this: https://samples.openweathermap.org/data/2.5/forecast?q=M%C3%BCnchen,DE&appid=b6907d289e10d714a6e88b30761fae22

Expand Down

0 comments on commit b03bb2d

Please sign in to comment.