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
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