class FlickRaw::Flickr::Urls

Public Instance Methods

getGroup(:group_id => 'group_id') click to toggle source

flickr.urls.getGroup request.

Returns the url to a group's page.

Arguments

group_id (required)

The NSID of the group to fetch the url for.

Error codes

  • 1: Group not found

    The NSID specified was not a valid group.

  • 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

# Generated automatically from flickr api
  def getGroup(*args)
    @flickr.call 'flickr.urls.getGroup', *args
  end
getUserPhotos(:user_id => 'user_id') click to toggle source

flickr.urls.getUserPhotos request.

Returns the url to a user's photos.

Arguments

user_id

The NSID of the user to fetch the url for. If omitted, the calling user is assumed.

Error codes

  • 1: User not found

    The NSID specified was not a valid user.

  • 2: No user specified

    No user_id was passed and the calling user was not logged in.

  • 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

# Generated automatically from flickr api
  def getUserPhotos(*args)
    @flickr.call 'flickr.urls.getUserPhotos', *args
  end
getUserProfile(:user_id => 'user_id') click to toggle source

flickr.urls.getUserProfile request.

Returns the url to a user's profile.

Arguments

user_id

The NSID of the user to fetch the url for. If omitted, the calling user is assumed.

Error codes

  • 1: User not found

    The NSID specified was not a valid user.

  • 2: No user specified

    No user_id was passed and the calling user was not logged in.

  • 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

# Generated automatically from flickr api
  def getUserProfile(*args)
    @flickr.call 'flickr.urls.getUserProfile', *args
  end
lookupGallery(:url => 'url') click to toggle source

flickr.urls.lookupGallery request.

Returns gallery info, by url.

Arguments

url (required)

The gallery's URL.

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

Cat Pictures I've Sent To Kevin Collins
# Generated automatically from flickr api
  def lookupGallery(*args)
    @flickr.call 'flickr.urls.lookupGallery', *args
  end
lookupGroup(:url => 'url') click to toggle source

flickr.urls.lookupGroup request.

Returns a group NSID, given the url to a group's page or photo pool.

Arguments

url (required)

The url to the group's page or photo pool.

Error codes

  • 1: Group not found

    The passed URL was not a valid group page or photo pool url.

  • 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

FlickrCentral
# Generated automatically from flickr api
  def lookupGroup(*args)
    @flickr.call 'flickr.urls.lookupGroup', *args
  end
lookupUser(:url => 'url') click to toggle source

flickr.urls.lookupUser request.

Returns a user NSID, given the url to a user's photos or profile.

Arguments

url (required)

The url to the user's profile or photos page.

Error codes

  • 1: User not found

    The passed URL was not a valid user profile or photos url.

  • 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

Stewart
# Generated automatically from flickr api
  def lookupUser(*args)
    @flickr.call 'flickr.urls.lookupUser', *args
  end