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

https://github.com/asifmahsud/pakorbit

Weather forcast application using 7times api
https://github.com/asifmahsud/pakorbit

forcasting pakistan weather weather-app

Last synced: 5 months ago
JSON representation

Weather forcast application using 7times api

Awesome Lists containing this project

README

          

## pakOrbit

### Summary

pakOrbit is a weather forecasting application focused on various cities in Pakistan. The application fetches weather data from the [7Timer!](http://www.7timer.info/doc.php?lang=en) API and displays it to the user in a user-friendly format. The main highlights of this solution include:
- A simple and intuitive user interface.
- Ability to select different cities in Pakistan to fetch weather data.
- Display of weather data using relevant emojis and descriptions.
- Option to toggle between Celsius and Fahrenheit temperature units.

### Solution

The solution achieves its objectives by:
1. Providing a dropdown menu for users to select their desired city.
2. Fetching weather data from the 7Timer! API based on the selected city's latitude and longitude.
3. Parsing and displaying the fetched data in a visually appealing manner using weather-related emojis and descriptions.
4. Offering a toggle option for users to switch between Celsius and Fahrenheit temperature units.

### Approach

The steps taken to complete the project include:
1. Setting up the basic HTML structure with relevant CSS for styling.
2. Integrating the [7Timer!](http://www.7timer.info/doc.php?lang=en) API to fetch weather data.
3. Writing JavaScript functions to handle the fetching, parsing, and displaying of weather data.
4. Implementing a temperature unit toggle feature to switch between Celsius and Fahrenheit.