Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/prakhar-002/weatherio-the-weather-app

Explore WEATHERIO,⛈️ your go-to repository for weather data!⛅ stay ahead of the forecast with real-time ⏳ weather information. From current conditions to extended forecasts 🌡️, rain ☔ or shine 🌞.
https://github.com/prakhar-002/weatherio-the-weather-app

api html-css-javascript netlify project webdevelopment website

Last synced: 17 days ago
JSON representation

Explore WEATHERIO,⛈️ your go-to repository for weather data!⛅ stay ahead of the forecast with real-time ⏳ weather information. From current conditions to extended forecasts 🌡️, rain ☔ or shine 🌞.

Awesome Lists containing this project

README

        

# Weather App ☁️🌡️

Weathrio is a simple and intuitive weather website that provides `up-to-date weather information` for locations worldwide. With clean design and easy navigation, users can `quickly access current weather `conditions, hourly forecasts, and `extended forecasts for any location` they choose.

➥ Live Demo

# Screenshots 🎉

![weatherio 3](https://github.com/Prakhar-002/Weatherio-The-weather-app/assets/136890202/d721dfeb-c380-4b81-b162-89064312ab67)


# 💻 Tech Stack 🎗️

![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)   ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white)   ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)


## Features 🥳
- `Current Weather` ➤ Get real-time weather updates including `temperature, humidity, wind speed, and more for any city or town`.

- `Hourly Forecast` ➤ Plan your day with `hour-by-hour weather forecasts` to stay prepared for changing weather conditions.

- `Extended Forecast` ➤ Check the` weather outlook for the next 7 days`.

- `Search Functionality` ➤ Easily **search for weather information by city name** with `autocomplete suggestions for quicker access`.

- `Responsive Design` ➤ Enjoy a seamless experience across devices, from desktops to smartphones, with our responsive website layout.


## Deployment 🚀

To To run weathrio locally, run this command on your git bash and **`Go to api.js file || Create your api_key and paste there`**

`For window`
```bash
git clone https://github.com/Prakhar-002/Weatherio-The-weather-app.git
```

`For Linux and macOS`
```bash
sudo git clone https://github.com/Prakhar-002/Weatherio-The-weather-app.git
```


## API Reference --> Open Weather API 🧩

### Default API 🤔

```JAVASCRIPT
GET --> https://api.openweathermap.org/ == Default
```

| Parameter | Type | My api_key |
| :-------- | :------- | :------------------------- |
| `appid` | `string` | **3186990c0f25f45a3a6cc958537c2b50**|

---

### Requires || Optional Parameters

| Parameter | Type | Example | Description |
| :-------- | :------- | :-------------------------------- | :-------------------------------- |
| `lat` `Requires` | `number` | **28.6517178** |**Latitude Of your city** |
| `lon` `Requires` | `number` | **77.2219388** | **Longitude of your city** |
| `q` `Requires` | `string` | **delhi** | **City name** |
| `limit` `optional` | `number` | **5** | **NUmber of data** |
| `units` `optional` | `string` | **matrix** | **Units of measurement** |


---
### API for **Current Weather** --> 🌡️

```JAVASCRIPT
GET --> {Default}data/2.5/weather?lat=${}&lon=${}&units=metric&appid=${api_key}
```

---


### API for **Forecast** --> 🕛

```JAVASCRIPT
GET --> {Default}data/2.5/forecast?lat=${}&lon=${}&units=metric&appid=${api_key}
```

---


### API for **Air Pollution** --> 👻

```JAVASCRIPT
GET --> {Default}data/2.5/air_pollution?lat=${}&lon=${}&appid=${api_key}
```
---


### API for **Reverse Geo** --> 🌐

```JAVASCRIPT
GET --> {Default}geo/1.0/reverse?lat=${}&lon=${}&limit=5&appid=${api_key}
```

---


### API for **Geo** --> 🌍

```JAVASCRIPT
GET --> {Default}geo/1.0/direct?q=${query}&limit=5&appid=${api_key}
```
---