ex_tiqets v0.1.0 ExTiqets.Country

Elixir wrapper for the Tiqets API - Countries

Link to this section Summary

Functions

Get a single country

Get multiple countries

Link to this section Functions

Link to this function

get(client, id)

Get a single country

Example - The Netherlands (id: 50166)

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

get_all(client)

Get multiple countries

Examples

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

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

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

get_all(client, options)