The current weather app 'weather.py' uses the openweathermap api to get the weather information. Required libraries are: requests and json(only for development)
Current usage is:
User gives input in the form of options and location.
$python weather.py=>Enter your location=>Choose one of the options
The options are:
1)Give current weather.
2)Give average weather data for today.
3)Give tomorrow's weather
4)Give Day-after-tomorrow's weather
5)Give weather at time:(Enter time, HH:MM)
6)Give weather after following number of days(Enter days)
Desired Usage:
User uses phrases and weather.py reacts accordingly, selecting the required option, taking users location as default unless stated otherwise.
For instance:
$panda how is the weather right now
This should automatically give current weather at user's location
$panda how will the weather be at 13:00
This should automatically give weather forecast fo 13:00
$panda how will the weather be after 10 days
This will give weather forecast for the 10th day
$panda how will the weather be tomorrow
This should give tomorrow's weather forecast
$panda how is the weather today
This should give today's average weather data.
The current weather app 'weather.py' uses the openweathermap api to get the weather information. Required libraries are: requests and json(only for development)
Current usage is:
User gives input in the form of options and location.
$python weather.py=>Enter your location=>Choose one of the optionsThe options are:
1)Give current weather.
2)Give average weather data for today.
3)Give tomorrow's weather
4)Give Day-after-tomorrow's weather
5)Give weather at time:(Enter time, HH:MM)
6)Give weather after following number of days(Enter days)
Desired Usage:
User uses phrases and weather.py reacts accordingly, selecting the required option, taking users location as default unless stated otherwise.
For instance:
$panda how is the weather right nowThis should automatically give current weather at user's location
$panda how will the weather be at 13:00This should automatically give weather forecast fo 13:00
$panda how will the weather be after 10 daysThis will give weather forecast for the 10th day
$panda how will the weather be tomorrowThis should give tomorrow's weather forecast
$panda how is the weather todayThis should give today's average weather data.