def search(self, q=''):
        """GET /v1/search"""
        if q:
            q = '?q=' + q
        return self._http_call('/v1/search' + q, get)
def search ( self , q = '' ) : if q : q = '?q=' + q return self . _http_call ( '/v1/search' + q , get )
GET /v1/search