YtPotion.Parser (yt_potion v1.0.0)

Copy Markdown

Parses a decoded YouTube Data API response body into either the list of result items or a YtPotion.Error describing what the API rejected.

Summary

Functions

parse(map)

@spec parse(map()) :: {:ok, [map()]} | {:error, YtPotion.Error.t()}