flickr.machinetags.getPairs

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

Authentication

This method does not require authentication.

Arguments

api_key (Required)
Your API application key. See here for more details.
namespace (Optional)
Limit the list of pairs returned to those that have the following namespace.
predicate (Optional)
Limit the list of pairs returned to those that have the following predicate.
per_page (Optional)
Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page (Optional)
The page of results to return. If this argument is omitted, it defaults to 1.

Example Response

<pairs page="1" total="1228" perpage="500" pages="3">
  <pair namespace="aero" predicate="airline" usage="1093">aero:airline</pair>
  <pair namespace="aero" predicate="icao" usage="4">aero:icao</pair>
  <pair namespace="aero" predicate="model" usage="1026">aero:model</pair>
  <pair namespace="aero" predicate="tail" usage="1048">aero:tail</pair>
</pairs>

Error Codes

1: Not a valid namespace
Missing or invalid namespace argument.
2: Not a valid predicate
Missing or invalid predicate argument.
100: Invalid API Key
The API key passed was not valid or has expired.
105: Service currently unavailable
The requested service is temporarily unavailable.
106: Write operation failed
The requested operation failed due to a temporary issue.
111: Format "xxx" not found
The requested response format was not found.
112: Method "xxx" not found
The requested method was not found.
114: Invalid SOAP envelope
The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
116: Bad URL found
One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer

API Explorer : flickr.machinetags.getPairs