ex_tiqets v0.1.0 ExTiqets.Tag

Elixir wrapper for the Tiqets API - Tags

Link to this section Summary

Functions

Get a tag by id

Get all tags

Get tag types, such as: "category", "recommended audience", "best time of day", "main category"

Link to this section Functions

Link to this function

get(client, id)

Get a tag by id

Example to retrieve Kids (400) tag type

iex> ExTiqets.Tag.get(client, 400)
{:ok, response}
Link to this function

get_all(client)

Get all tags

Examples

iex> ExTiqets.Tag.get_all(client)
{:ok, response}

iex> options = %{
       page_size: 20,
       page: 1,
       type_name: "category""
     }

iex> ExTiqets.Tag.get_all(client, options)
{:ok, response}
Link to this function

get_all(client, options)

Link to this function

get_types(client)

Get tag types, such as: "category", "recommended audience", "best time of day", "main category"

Example

iex> ExTiqets.Tag.get_types(client)
{:ok, response}