Lithic.Resources.Network (Lithic v1.0.0)

Copy Markdown View Source

Network programs and totals.

Summary

Functions

get_program(network_program_token, opts \\ [])

@spec get_program(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Lithic.Error.t()}

get_total(network_total_token, opts \\ [])

@spec get_total(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Lithic.Error.t()}

list_programs(opts \\ [])

@spec list_programs(keyword()) ::
  {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}

list_totals(opts \\ [])

@spec list_totals(keyword()) ::
  {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}