View Source ActiveCampaign.Score (active_campaign v0.3.0)

Documentation for ActiveCampaign.Score.

Link to this section Summary

Functions

Retrieve a score

List all scores

Link to this section Functions

@spec get(integer()) :: {:ok, map()} | {:error, any()}

Retrieve a score

examples

Examples

iex> ActiveCampaign.Score.get(1)
{:ok, %{"score" => %{...}}}
@spec list() :: {:ok, map()} | {:error, any()}

List all scores

examples

Examples

iex> ActiveCampaign.Score.list()
{:ok, %{"meta" => %{"total" => "2"}, "scores" => [...]}}