Create and initiate the Content Hub ONE client
Before you can use the Content Hub ONE SDK, you must create and initiate the client.
Create the Content Hub ONE client
Use the following code to create the Content Hub ONE client.
Initiate the Content Hub ONE client
The clients used with the Content Hub ONE SDK follow similar usage patterns and require that you initiate a Content Hub ONE client instance. This instance exposes the underlying functionality used to interact with the APIs:
To get started with the SDK, try the following basic tasks:
-
Get a single content type.
-
Get content items of a specific definition.