Exemple #1
0
 def do_weather(self, location):
     data = WeatherApi.get_weather(self.api_key, location)
     print "\n\n\nWeather result:\n{}\n\n\n".format(data)
Exemple #2
0
 def do_weather(self, location):
     data = WeatherApi.get_weather(self.api_key, location)
     print "\n\n\nWeather result:\n{}\n\n\n".format(data)
Exemple #3
0
 def say_weather(self, location):
     WeatherApi.get_weather(location)