Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/preetvadaliya/weather-app
Simple python program to get real time weather data of your location.
https://github.com/preetvadaliya/weather-app
beautifulsoup python python3 weather-app webscraping
Last synced: about 2 months ago
JSON representation
Simple python program to get real time weather data of your location.
- Host: GitHub
- URL: https://github.com/preetvadaliya/weather-app
- Owner: preetvadaliya
- License: mit
- Created: 2021-03-06T04:58:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-06T05:34:50.000Z (almost 4 years ago)
- Last Synced: 2024-10-15T13:41:17.393Z (3 months ago)
- Topics: beautifulsoup, python, python3, weather-app, webscraping
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
W E A T H E R A P P
Simple python program to get real time weather data of your location.
### How to use?
Download **WeatherApp.py** file and add into your project.
## E X A M P L E
```pythonfrom WeatherApp import WeatherApp
app = WeatherApp("Your User Agent")```
## M E T H O D S
### getLocation( )
Get your current location.
```pythonapp.getLocation()
```
### getTime( )
Get current time.
```pythonapp.getTime()
```
### getTemperature( )
Get temperature in C.
```pythonapp.getTemperature()
```
### getTemperatureInFahrenheit( )
Get temperature in F.
```pythonapp.getTemperatureInFahrenheit()
```
### getWeatherType( )
Get current weather type.
```pythonapp.getWeatherType()
```
### getPrecipitation( )
Get current precipitation.
```pythonapp.getPrecipitation()
```
### getHumidity( )
Get current humidity.
```pythonapp.getHumidity()
```
### getWindSpeed( )
Get current wind speed.
```pythonapp.getWindSpeed()
```