Handkit.Profile.get_friends

You're seeing just the function get_friends, go back to Handkit.Profile module for more information.

Specs

get_friends(Handkit.Connect.t()) :: {:ok, [map()]} | {:error, any()}

Return a list of friends, each including their own public profile.

Example

iex> Handkit.Profile.get_friends(client)
{:ok, [
  %{
    "avatar_url" => "https://res.cloudinary.com/hk7jbd3jh/image/upload/v1584356800/hprcfwdasenpnrqei3uz.jpg",
    "bitcoin_unit" => "DUR",
    "display_name" => "Rafa JS",
    "handle" => "rjseibane",
    "id" => "5f64dfbd7549610022d2861b",
    "local_currency_code" => "USD",
    "paymail" => "rjseibane@internal.handcash.io"
  }
]}