DEV Community

loading...

Discussion on: How to build an Geolocation Weather Forecast app in React Native in 30 minutes

Collapse
andrewsmith1996 profile image
Andrew Smith Author

Hey, the API key should go in the following line in the

App.js let url = 'api.openweathermap.org/data/2.5/fo...' + this.state.latitude + '&lon=' + this.state.longitude + '&units=metric&appid=YOUR_KEY_HERE';