示例#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)
示例#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)
示例#3
0
 def say_weather(self, location):
     WeatherApi.get_weather(location)