Returns the specified collection.

Required arguments

Name Type Description
id string The collection ID.

Optional keyword arguments

None

Returns

The collection model.

Example

This example gets the collection with the specified collection ID.

public = enigma.Public()
collection = public.collections.get('de8af1e6-f4f0-4762-b5a3-d85d3c3f0967')