Superface logo

VCS User Repositories

Version: 2.0.1
vcs/user-repos
superface

Retrieve the version control system repositories of specified user.

Get User Repositories

Get repositories of the specified user.

User
repos

1. Install

npx @superfaceai/cli install vcs/user-repos

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');
const sdk = new SuperfaceClient();
async function run() {
// Load the installed profile
const profile = await sdk.getProfile('vcs/user-repos');
// Use the profile
const result = await profile
.getUseCase('UserRepos')
.perform({
user: 'superfaceai'
});
return result.unwrap();
}
run();

3. Add providers