add 'params' paramter to client.getBuckets method