class FlickRaw::Flickr::Cameras

Public Instance Methods

getBrandModels(:brand => 'brand') click to toggle source

flickr.cameras.getBrandModels request.

Retrieve all the models for a given camera brand.

Arguments

brand (required)

The ID of the requested brand (as returned from flickr.cameras.getBrands).

Error codes

  • 1: Brand not found

    Unable to find the given brand ID.

  • 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.

Returns

iPhone 900022.03.040.5Flashhttp://farm3.staticflickr.com/1234/cameras/123456_model_small_123456.jpg
        http://farm3.staticflickr.com/1234/cameras/123456_model_large_123456.jpg
# Generated automatically from flickr api
  def getBrandModels(*args)
    @flickr.call 'flickr.cameras.getBrandModels', *args
  end
getBrands() click to toggle source

flickr.cameras.getBrands request.

Returns all the brands of cameras that Flickr knows about.

Arguments

Error codes

  • 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.

Returns

CanonNikonApple
# Generated automatically from flickr api
  def getBrands(*args)
    @flickr.call 'flickr.cameras.getBrands', *args
  end