Skip to content
Client
Server

Reference / @open-music-sdk/client-catalog / catalog

Function: catalog() ​

ts
function catalog(client): tCatalog;

Defined in: clients/client-catalog/src/namespace.ts:910

The catalog for one client. Each call makes a new one, which cannot be changed.

Parameters ​

client ​

tAppleMusicClient

The client every function of the catalog asks with.

Returns ​

tCatalog

Every function of this package bound to the client, under its own name, frozen.

Throws ​

TypeError if client is no client from createClient, there and then.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.