Handkit.Profile.get_public_profiles_by_handle
You're seeing just the function
get_public_profiles_by_handle
, go back to Handkit.Profile module for more information.
Specs
get_public_profiles_by_handle(Handkit.Connect.t(), [String.t()]) :: {:ok, [map()]} | {:error, any()}
Looks up and returns a list of public profiles from the given list of Handcash handles.
Examples
iex> Handkit.Profile.get_permissions(client, ["cryptokang", "eyeone"])
{:ok, [
%{
"avatar_url" => "https://handcash.io/avatar/7d399a0c-22cf-40cf-b162-f5511a4645db",
"bitcoin_unit" => "DUR",
"display_name" => "Brandon",
"handle" => "cryptokang",
"id" => "5f15c31c3c177d003028eb97",
"local_currency_code" => "USD",
"paymail" => "cryptokang@handcash.io"
},
%{
"avatar_url" => "https://handcash.io/avatar/7d399a0c-22cf-40cf-b162-f5511a4645db",
"bitcoin_unit" => "DUR",
"display_name" => "Ivan",
"handle" => "eyeone",
"id" => "5f14c41c3c188d003027eb77",
"local_currency_code" => "EUR",
"paymail" => "eyeone@handcash.io"
}
]}