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

Link to this section Summary

Functions

Retrieves a list of the current Commons institutions.

Link to this section Types

Link to this section Functions

Link to this function

get_institutions(opts \\ [])

View Source

Specs

get_institutions(opts()) :: operation()

Retrieves a list of the current Commons institutions.

This method does not require authentication.

Example response

%{
  "institutions" => %{
    "institution" => %{
      "date_launch" => "1232000000",
      "name" => %{"_content" => "Institution"},
      "nsid" => "123456@N01",
      "urls" => %{
        "url" => [
          %{"_content" => "http://example.com/", "type" => "site"},
          %{
            "_content" => "http://example.com/commons/license",
            "type" => "license"
          },
          %{
            "_content" => "http://flickr.com/photos/institution",
            "type" => "flickr"
          }
        ]
      }
    }
  },
  "stat" => "ok"
}