def get_vendors_info(self, limit=10, offset=10):
        """
        Provide vendors info
        :param limit:
        :param offset:
        :return:
        """
        params = {}
        if offset:
            params['offset'] = offset
        if limit:
            params['limit'] = limit
        url = 'rest/1.0/vendors'
        return (self.get(url, params=params) or {}).get('vendors')
def get_vendors_info ( self , limit = 10 , offset = 10 ) : params = { } if offset : params [ 'offset' ] = offset if limit : params [ 'limit' ] = limit url = 'rest/1.0/vendors' return ( self . get ( url , params = params ) or { } ) . get ( 'vendors' )
Provide vendors info
        :param limit:
        :param offset:
        :return: