Public constructor.

Arguments

None

Returns

A Public SDK client object.

Example

This example creates an SDK client object called public using the specified host URL and path_prefix.

public = enigma.Public()

You can use the SDK client object to provide your API key and access all of the available resources on Enigma Public, for example:

public.set_auth(apikey='YOUR-API-KEY')
public.collections.list()