ex_tiqets v0.1.1 ExTiqets.City
Elixir wrapper for the Tiqets API - Cities
Link to this section Summary
Link to this section Functions
Link to this function
get(client, id)
Get a single city
Example - The Netherlands (id: 50166)
iex> ExTiqets.City.get(client, 50166)
{:ok, response}
Link to this function
get_all(client)
Get cities
Example - get all cities in UK (country_id: 50076)
iex> ExTiqets.City.get_all(client)
{:ok, response}
iex> options = %{
page_size: 20,
page: 1,
country_id: 50076
}
iex> ExTiqets.City.get_all(client, options)
{:ok, response}
Link to this function