DEV Community

Discussion on: Weather App using Node JS and handlebars templating engine

Collapse
 
henok36039789 profile image
Henok

To retrieve the weather information you don't have to import the request module and call the raw API. All can be simplified by using the superface sdk ( it also supports multiple weather providers other than openweathermap )

all you have to do is install the package with - npm install @superfaceai/one-sdk

and follow these steps for integration - superface.ai/weather/current-city