def weather_at_place(self, name):
        """
        Queries the OWM Weather API for the currently observed weather at the
        specified toponym (eg: "London,uk")

        :param name: the location's toponym
        :type name: str or unicode
        :returns: an *Observation* instance or ``None`` if no weather data is
            available
        :raises: *ParseResponseException* when OWM Weather API responses' data
            cannot be parsed or *APICallException* when OWM Weather API can not be
            reached
        """

        assert isinstance(name, str), "Value must be a string"
        encoded_name = name
        params = {'q': encoded_name, 'lang': self._language}
        uri = http_client.HttpClient.to_url(OBSERVATION_URL,
                                            self._API_key,
                                            self._subscription_type,
                                            self._use_ssl)
        _, json_data = self._wapi.cacheable_get_json(uri, params=params)
        return self._parsers['observation'].parse_JSON(json_data)
def weather_at_place ( self , name ) : assert isinstance ( name , str ) , "Value must be a string" encoded_name = name params = { 'q' : encoded_name , 'lang' : self . _language } uri = http_client . HttpClient . to_url ( OBSERVATION_URL , self . _API_key , self . _subscription_type , self . _use_ssl ) _ , json_data = self . _wapi . cacheable_get_json ( uri , params = params ) return self . _parsers [ 'observation' ] . parse_JSON ( json_data )
Queries the OWM Weather API for the currently observed weather at the
        specified toponym (eg: "London,uk")

        :param name: the location's toponym
        :type name: str or unicode
        :returns: an *Observation* instance or ``None`` if no weather data is
            available
        :raises: *ParseResponseException* when OWM Weather API responses' data
            cannot be parsed or *APICallException* when OWM Weather API can not be
            reached