Flickrex.Flickr.Profile (flickrex v0.8.1) View Source

Link to this section Summary

Functions

Returns specified user's profile info, respecting profile privacy settings

Link to this section Types

Link to this section Functions

Link to this function

get_profile(user_id, opts \\ [])

View Source

Specs

get_profile(arg(), opts()) :: operation()

Returns specified user's profile info, respecting profile privacy settings

This method does not require authentication.

Arguments

  • user_id - The NSID of the user to fetch profile information for.

Example response

%{
  "profile" => %{
    "city" => "San Francisco",
    "country" => "USA",
    "description" => "This is me, this is my story",
    "first_name" => "Hal",
    "hometown" => "Melbourne, Australia",
    "id" => "85826296@N00",
    "last_name" => "Cenderson",
    "nsid" => "85826296@N00",
    "occupation" => "Super Conductor",
    "showcase_set" => "12357488850955295",
    "website" => "http://example.org"
  },
  "stat" => "ok"
}