Skip to content

@ubstream/ubstream-node-client-sdk / Exports / UsersClient

Class: UsersClient

This class provides access to methods to manage users.

Hierarchy

  • AbstractClient

UsersClient

Table of contents

Methods

Methods

getUserLibraries

getUserLibraries(userId, lang?): Promise<IPublicLibrariesQuery>

Parameters

Name Type Description
userId string The uuid of the targeted user.
lang? string A language ISO code for the desired language of the libraries' title

Returns

Promise<IPublicLibrariesQuery>

Promise object representing the fetched libraries.

Summary

Retrieve user libraries

Example

const libraries = await client.users.getUserLibraries("user_id");