An open API service indexing awesome lists of open source software.

https://github.com/tuhinpal/weather-api

Free Weather API, Made with NodeJS
https://github.com/tuhinpal/weather-api

free-weather-api geo-location nodejs weather weather-api weather-forecast

Last synced: 6 months ago
JSON representation

Free Weather API, Made with NodeJS

Awesome Lists containing this project

README

          

# 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]):**

```html
https://[YOUR-URL]/auto
```

**Manually Fetch weather From Location:**

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

### Deploy Your Own:

**1. Deploy the API:**

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/cachecleanerjeet/weather-api/tree/master)

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

```bash
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](https://www.npmjs.com/package/weather-js). Api endpoints and schema changed.

### License & Copyright :

- This Project is [Apache-2.0](https://github.com/cachecleanerjeet/weather-api/blob/master/LICENSE) Licensed
- Copyright 2021 by [Tuhin Kanti Pal](https://github.com/cachecleanerjeet)

### Connect :

- [Channel](https://telegram.dog/tprojects)
- [Support Group](https://telegram.dog/t_projects)