Retrieve paginated list of members
npx @superfaceai/cli install chat/members
const { SuperfaceClient } = require('@superfaceai/one-sdk');
const sdk = new SuperfaceClient();
async function run() {
// Load the installed profile
const profile = await sdk.getProfile('chat/members');
// Use the profile
const result = await profile
.getUseCase('GetMembers')
.perform({
workspace: '877903817948147752',
limit: 2
});
return result.unwrap();
}
run();
Switching providers Learn how to use automatic failover or switch between providers manually.
Missing your favorite provider? Tell us which provider you'd like to use.