def list_catalogs(results=30, start=0):
 result = util.callm(('%s/%s' % ('catalog', 'list')), {'results': results, 'start': start})
 cats = [Catalog(**util.fix(d)) for d in result['response']['catalogs']]
 start = result['response']['start']
 total = result['response']['total']
 return ResultList(cats, start, total)

def list_catalogs ( results = 30 , start = 0 ) : result = util . callm ( ( '%s/%s' % ( 'catalog' , 'list' ) ) , { 'results' : results , 'start' : start } ) cats = [ Catalog ( ** util . fix ( d ) ) for d in result [ 'response' ] [ 'catalogs' ] ] start = result [ 'response' ] [ 'start' ] total = result [ 'response' ] [ 'total' ] return ResultList ( cats , start , total )
returns list of all catalogs created on this api key args: kwargs: results : an integer number of results to return start : an integer starting value for the result set returns: a list of catalog objects example: .