@ubstream/ubstream-node-client-sdk / Exports / UbstreamClient
Class: UbstreamClient
Table of contents
Constructors
Properties
Constructors
constructor
• new UbstreamClient(options?
)
Parameters
Name | Type | Description |
---|---|---|
options? | ISessionOptions | The url of the API. |
Summary
Initialize the sdk with credentials.
Example
const client = new UbstreamClient();
// by default, the API url is `https://developer.ubstream.com/api/v1` but it is possible to connect to other Ubstream instance:
const client = new UbstreamClient({
apiUrl: "https://developer.ubstream.ch/api/v1"
});
Properties
libraries
• Readonly
libraries: LibrariesClient
Attribute to access all methods concerning libraries.
medias
• Readonly
medias: MediasClient
Attribute to access all methods concerning medias.
organizations
• Readonly
organizations: OrganizationsClient
Attribute to access all methods concerning organizations, groups and users.
requests
• Readonly
requests: RequestsClient
Attribute to access all methods concerning requests.
session
• Readonly
session: SessionContext
Attribute to access all methods to manage the authentication.
users
• Readonly
users: UsersClient
Attribute to access all methods concerning users.