Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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
```python

from WeatherApp import WeatherApp
app = WeatherApp("Your User Agent")

```


## M E T H O D S

### getLocation( )
Get your current location.
```python

app.getLocation()

```


### getTime( )
Get current time.
```python

app.getTime()

```


### getTemperature( )
Get temperature in C.
```python

app.getTemperature()

```


### getTemperatureInFahrenheit( )
Get temperature in F.
```python

app.getTemperatureInFahrenheit()

```


### getWeatherType( )
Get current weather type.
```python

app.getWeatherType()

```


### getPrecipitation( )
Get current precipitation.
```python

app.getPrecipitation()

```


### getHumidity( )
Get current humidity.
```python

app.getHumidity()

```


### getWindSpeed( )
Get current wind speed.
```python

app.getWindSpeed()

```