def __str__(self):
        """returns object as a string"""
        if self._json is None:
            self.__init(url=self._url)
        return self._json
def __str__ ( self ) : if self . _json is None : self . __init ( url = self . _url ) return self . _json
returns object as a string