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.
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}
1. Deploy the API:
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
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.
- This Project is Apache-2.0 Licensed
- Copyright 2021 by Tuhin Kanti Pal