flickrex v0.3.0 Flickr.Machinetags

Summary

Functions

Return a list of unique namespaces, optionally limited by a given predicate, in alphabetical order

Return a list of unique namespace and predicate pairs, optionally limited by predicate or namespace, in alphabetical order

Return a list of unique predicates, optionally limited by a given namespace

Fetch recently used (or created) machine tags values

Return a list of unique values for a namespace and predicate

Types

args()
args() :: Keyword.t
client()
client() :: Flickrex.Client.t
response()
response() :: Flickrex.Parser.response

Functions

get_namespaces(client, args \\ [])
get_namespaces(client, args) :: response

Return a list of unique namespaces, optionally limited by a given predicate, in alphabetical order.

This method does not require authentication.

Arguments

  • predicate - Limit the list of namespaces returned to those that have the following predicate.

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.

get_pairs(client, args \\ [])
get_pairs(client, args) :: response

Return a list of unique namespace and predicate pairs, optionally limited by predicate or namespace, in alphabetical order.

This method does not require authentication.

Arguments

  • namespace - Limit the list of pairs returned to those that have the following namespace.

  • predicate - Limit the list of pairs returned to those that have the following predicate.

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.

get_predicates(client, args \\ [])
get_predicates(client, args) :: response

Return a list of unique predicates, optionally limited by a given namespace.

This method does not require authentication.

Arguments

  • namespace - Limit the list of predicates returned to those that have the following namespace.

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.

get_recent_values(client, args \\ [])
get_recent_values(client, args) :: response

Fetch recently used (or created) machine tags values.

This method does not require authentication.

Arguments

  • namespace - A namespace that all values should be restricted to.

  • predicate - A predicate that all values should be restricted to.

  • added_since - Only return machine tags values that have been added since this timestamp, in epoch seconds.

get_values(client, args \\ [])
get_values(client, args) :: response

Return a list of unique values for a namespace and predicate.

This method does not require authentication.

Arguments

  • namespace - (required) The namespace that all values should be restricted to.

  • predicate - (required) The predicate that all values should be restricted to.

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.