Create Free Weather API | Use requests and axios in Node.js | Call Any External API in Node JS

Опубликовано: 14 Март 2026
на канале: Stubborn Developers
3,839
50

#stubborndevelopers

In this video, we will learn that how we can use any external/weather API in Node.js. Also we will learn below points:
1)How we can create free Weather API?
2) How can we call any external api using requests package in Node js?
2) How can we call any external api using axios package in Node js?

//Start using npm
npm init -y

//Install requests package
npm install requests --save

//Require requests package
const requests = require("requests");

//Install axios package
npm install axios --save

//Require axios package
const axios = require("axios");

*********** NPM tutorial for beginners ***********
   • NPM tutorial for beginners | What is NPM?  

*********** Node.JS Tutorial in English 2021 Playlist ***********
   • how to install node js  

*********** React.JS Tutorial in Hindi 2021 Playlist ***********
   • react js introduction in hindi