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

preview_player
Показать описание
#stubborndevelopers

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

************ Node.JS Tutorial in English 2021 Playlist ************

************ React.JS Tutorial in Hindi 2021 Playlist ************
Рекомендации по теме
Комментарии
Автор

Sir ab jo api mil rhi h usme city name ka option nhi h query string m usme lat, aur lon, aara h kuch

raghavbhardwaj
Автор

i am getting an authentication error
How i should debug that code
because i am making use of the link which has username n password

fathimabegum
Автор

request is deprecated in 2020
but nice video..

User-nqee