Skip to content

tuhinpal/weather-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather-API

World's First Unlimited Free Weather API, Made with NodeJS

Features:

  • Auto Fetch Weather using IP's Location.
  • Unlimited API Calls.
  • Weather Forecasts.
  • Fetch Weather From Location (City Name).
  • Open Source So Deploy Your Own.
  • Totally Free of Cost.

API Calls (Method : GET):

Automatically fetch weather from IP's Location (Only works if server & client connects directly [No Proxy]):

https://[YOUR-URL]/auto

Manually Fetch weather From Location:

https://[YOUR-URL]/location/{PLACE-NAME}

Deploy Your Own:

1. Deploy the API:

Deploy

Deploy to VPS or Local Machine 👇 NodeJS & Npm are Required.

apt install npm
apt install nodejs

git clone https://github.com/cachecleanerjeet/weather-api.git
cd weather-api

npm install
node index.js

Project is comptible with deta.sh

Note:

Previous version was using Yahoo's weather API. Yahoo discontinued it, so, now using a msn weather wrapper weather-js. Api endpoints and schema changed.

License & Copyright :

Connect :