Pexels.Client.CollectionType (Pexels v0.1.0) View Source

The type of media you are requesting.

Supported values are photos and videos.

Examples

iex> Pexels.Client.CollectionType.photos()
"photos"

Link to this section Summary

Functions

Callback implementation for Construct.Type.cast/1.

photos collection

videos collection

Link to this section Functions

Callback implementation for Construct.Type.cast/1.

photos collection

Example

iex> Pexels.Client.CollectionType.photos()
"photos"

videos collection

Example

iex> Pexels.Client.CollectionType.videos()
"videos"