C# Class FlickrNet.Flickr

Exibir arquivo Open project: mono/flickr-sharp Class Usage Examples

Private Properties

Property Type Description
ActivityUserPhotos FlickrNet.ActivityItem[]
Deserialize Response
DoDownloadPicture System.Stream
DoGetResponse string
GetResponse Response
GetResponseAlwaysCache Response
GetResponseCache Response
GetResponseNoCache Response
Md5Hash string
PhotosGetWithGeoData Photos
PhotosGetWithoutGeoData Photos

Public Methods

Method Description
ActivityUserComments ( ) : FlickrNet.ActivityItem[]

Returns a list of recent activity on photos commented on by the calling user.

Do not poll this method more than once an hour.

ActivityUserPhotos ( ) : FlickrNet.ActivityItem[]

Returns a list of recent activity on photos belonging to the calling user.

Do not poll this method more than once an hour.

ActivityUserPhotos ( int timePeriod, string timeType ) : FlickrNet.ActivityItem[]

Returns a list of recent activity on photos belonging to the calling user.

Do not poll this method more than once an hour.

AuthCalcUrl ( string frob, AuthLevel authLevel ) : string

Calculates the URL to redirect the user to Flickr web site for authentication. Used by desktop application. See AuthGetFrob for example code.

AuthCalcWebUrl ( AuthLevel authLevel ) : string

Calculates the URL to redirect the user to Flickr web site for auehtntication. Used by Web applications. See AuthGetFrob for example code.

The Flickr web site provides 'tiny urls' that can be used in place of this URL when you specify your return url in the API key page. It is recommended that you use these instead as they do not include your API or shared secret.

AuthCheckToken ( string token ) : Auth

Checks a authentication token with the flickr service to make sure it is still valid.

AuthGetFrob ( ) : string

Retrieve a temporary FROB from the Flickr service, to be used in redirecting the user to the Flickr web site for authentication. Only required for desktop authentication.

Pass the FROB to the AuthCalcUrl method to calculate the url.

AuthGetFullToken ( string miniToken ) : Auth

Gets the full token details for a given mini token, entered by the user following a web based authentication.

AuthGetToken ( string frob ) : Auth

After the user has authenticated your application on the flickr web site call this method with the FROB (either stored from AuthGetFrob or returned in the URL from the Flickr web site) to get the users token.

BlogGetList ( ) : FlickrNet.Blogs

Gets a list of blogs that have been set up by the user. Requires authentication.

BlogPostPhoto ( string blogId, string photoId, string title, string description ) : bool

Posts a photo already uploaded to a blog. Requires authentication.

BlogPostPhoto ( string blogId, string photoId, string title, string description, string blogPassword ) : bool

Posts a photo already uploaded to a blog. Requires authentication.

ContactsGetList ( ) : FlickrNet.Contacts

Gets a list of contacts for the logged in user. Requires authentication.

ContactsGetPublicList ( string userId ) : FlickrNet.Contacts

Gets a list of the given users contact, or those that are publically avaiable.

DownloadPicture ( string url ) : Stream

Downloads the picture from a internet and transfers it to a stream object.

The method checks the download cache first to see if the picture has already been downloaded and if so returns the cached image. Otherwise it goes to the internet for the actual image.

FavoritesAdd ( string photoId ) : bool

Adds a photo to the logged in favourites. Requires authentication.

FavoritesGetList ( ) : Photos

Get a list of the currently logger in users favourites. Requires authentication.

FavoritesGetList ( int perPage, int page ) : Photos

Get a list of the currently logger in users favourites. Requires authentication.

FavoritesGetList ( string userId ) : Photos

Get a list of favourites for the specified user.

FavoritesGetList ( string userId, int perPage, int page ) : Photos

Get a list of favourites for the specified user.

FavoritesGetPublicList ( string userId ) : Photos

Gets the public favourites for a specified user.

This function difers from Flickr.FavoritesGetList(string) in that the user id is not optional.

FavoritesGetPublicList ( string userId, int perPage, int page ) : Photos

Gets the public favourites for a specified user.

This function difers from Flickr.FavoritesGetList(string) in that the user id is not optional.

FavoritesRemove ( string photoId ) : bool

Removes a photograph from the logged in users favourites. Requires authentication.

Flickr ( ) : System

Constructor loads configuration settings from app.config or web.config file if they exist.

Flickr ( string apiKey ) : System

Create a new instance of the Flickr class with no authentication.

Flickr ( string apiKey, string sharedSecret ) : System

Creates a new instance of the Flickr class with an API key and a Shared Secret. This is only useful really useful for calling the Auth functions as all other authenticationed methods also require the API Token.

Flickr ( string apiKey, string sharedSecret, string token ) : System

Create a new instance of the Flickr class with the email address and password given

FlushCache ( ) : void

Clears the cache completely.

FlushCache ( string url ) : void

Clears the cache for a particular URL.

The URL can either be an image URL for a downloaded picture, or a request URL (see LastRequest for getting the last URL).

GetCachePictures ( ) : PictureCacheItem[]

Provides static access to the list of cached photos.

GroupPoolAdd ( string photoId, string groupId ) : bool

Adds a photo to a pool you have permission to add photos to.

GroupPoolGetContext ( string photoId, string groupId ) : Context

Gets the context for a photo from within a group. This provides the id and thumbnail url for the next and previous photos in the group.

GroupPoolGetGroups ( ) : MemberGroupInfo[]

Gets a list of

GroupPoolGetPhotos ( string groupId ) : Photos

Gets a list of photos for a given group.

GroupPoolGetPhotos ( string groupId, int perPage, int page ) : Photos

Gets a list of photos for a given group.

GroupPoolGetPhotos ( string groupId, string tags ) : Photos

Gets a list of photos for a given group.

GroupPoolGetPhotos ( string groupId, string tags, int perPage, int page ) : Photos

Gets a list of photos for a given group.

GroupPoolGetPhotos ( string groupId, string tags, string userId, PhotoSearchExtras extras, int perPage, int page ) : Photos

Gets a list of photos for a given group.

GroupPoolRemove ( string photoId, string groupId ) : bool

Remove a picture from a group.

GroupsBrowse ( ) : Category

Returns the top Category with a list of sub-categories and groups. (The top category does not have any groups in it but others may).

GroupsBrowse ( string catId ) : Category

Returns the Category specified by the category id with a list of sub-categories and groups.

GroupsGetInfo ( string groupId ) : GroupFullInfo

Returns a GroupFullInfo object containing details about a group.

GroupsSearch ( string text ) : GroupSearchResults

Search the list of groups on Flickr for the text.

GroupsSearch ( string text, int page ) : GroupSearchResults

Search the list of groups on Flickr for the text.

GroupsSearch ( string text, int page, int perPage ) : GroupSearchResults

Search the list of groups on Flickr for the text.

InterestingnessGetList ( ) : Photos

Gets a list of photos from the most recent interstingness list.

InterestingnessGetList ( DateTime date ) : Photos

Gets a list of photos from the interstingness list for the specified date.

InterestingnessGetList ( DateTime date, PhotoSearchExtras extras, int perPage, int page ) : Photos

Gets a list of photos from the most recent interstingness list.

InterestingnessGetList ( PhotoSearchExtras extras, int perPage, int page ) : Photos

Gets a list of photos from the most recent interstingness list.

IsUrlCached ( string url ) : bool

Check a url for existance in the cache

NotesAdd ( string photoId, int noteX, int noteY, int noteWidth, int noteHeight, string noteText ) : string

Add a note to a picture.

NotesDelete ( string noteId ) : void

Delete an existing note.

NotesEdit ( string noteId, int noteX, int noteY, int noteWidth, int noteHeight, string noteText ) : void

Edit and update a note.

PeopleFindByEmail ( string emailAddress ) : FoundUser

Used to fid a flickr users details by specifying their email address.

PeopleFindByUsername ( string username ) : FoundUser

Returns a FoundUser object matching the screen name.

PeopleGetInfo ( string userId ) : Person

Gets the Person object for the given user id.

PeopleGetPublicGroups ( string userId ) : PublicGroupInfo[]

Get a list of public groups for a user.

PeopleGetPublicPhotos ( string userId ) : Photos

Gets a users public photos. Excludes private photos.

PeopleGetUploadStatus ( ) : UserStatus

Gets the upload status of the authenticated user.

PhotosAddTags ( string photoId, string tags ) : void

Add a selection of tags to a photo.

PhotosCommentsAddComment ( string photoId, string commentText ) : string

Adds a new comment to a photo.

PhotosCommentsDeleteComment ( string commentId ) : void

Deletes a comment from a photo.

PhotosCommentsEditComment ( string commentId, string commentText ) : void

Edits a comment.

PhotosCommentsGetList ( string photoId ) : Comment[]

Gets a list of comments for a photo.

PhotosDelete ( string photoId ) : void

Delete a photo from Flickr.

Requires Delete permissions. Also note, photos cannot be recovered once deleted.

PhotosGeoGetLocation ( string photoId ) : PhotoLocation

Returns the location data for a give photo.

PhotosGeoGetPerms ( string photoId ) : GeoPermissions

Get permissions for a photo.

PhotosGeoRemoveLocation ( string photoId ) : bool

Removes Location information.

PhotosGeoSetLocation ( string photoId, double latitude, double longitude ) : void

Sets the geo location for a photo.

PhotosGeoSetLocation ( string photoId, double latitude, double longitude, GeoAccuracy accuracy ) : void

Sets the geo location for a photo.

PhotosGeoSetPerms ( string photoId, bool IsPublic, bool IsContact, bool IsFamily, bool IsFriend ) : void

Set the permission for who can see geotagged photos on Flickr.

PhotosGetAllContexts ( string photoId ) : AllContexts

Get all the contexts (group, set and photostream 'next' and 'previous' pictures) for a photo.

PhotosGetContactsPhotos ( ) : Photos

Gets the most recent 10 photos from your contacts.

PhotosGetContactsPhotos ( long count ) : Photos

Gets the most recent photos from your contacts.

Returns the most recent photos from all your contact, excluding yourself.

PhotosGetContactsPhotos ( long count, bool justFriends, bool singlePhoto, bool includeSelf ) : Photos

Gets your contacts most recent photos.

PhotosGetContactsPublicPhotos ( string userId ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContactsPublicPhotos ( string userId, PhotoSearchExtras extras ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContactsPublicPhotos ( string userId, long count ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContactsPublicPhotos ( string userId, long count, PhotoSearchExtras extras ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContactsPublicPhotos ( string userId, long count, bool justFriends, bool singlePhoto, bool includeSelf ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContactsPublicPhotos ( string userId, long count, bool justFriends, bool singlePhoto, bool includeSelf, PhotoSearchExtras extras ) : Photos

Gets the public photos for given users ID's contacts.

PhotosGetContext ( string photoId ) : Context

Gets the context of the photo in the users photostream.

PhotosGetCounts ( DateTime dates ) : PhotoCounts

Returns count of photos between each pair of dates in the list.

If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.

PhotosGetCounts ( DateTime dates, bool taken ) : PhotoCounts

Returns count of photos between each pair of dates in the list.

If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.

PhotosGetCounts ( string dates ) : PhotoCounts

Returns count of photos between each pair of dates in the list.

If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.

PhotosGetCounts ( string dates, string taken_dates ) : PhotoCounts

Returns count of photos between each pair of dates in the list.

If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.

PhotosGetExif ( string photoId ) : ExifPhoto

Gets the EXIF data for a given Photo ID.

PhotosGetExif ( string photoId, string secret ) : ExifPhoto

Gets the EXIF data for a given Photo ID.

PhotosGetInfo ( string photoId ) : PhotoInfo

Get information about a photo. The calling user must have permission to view the photo.

PhotosGetInfo ( string photoId, string secret ) : PhotoInfo

Get information about a photo. The calling user must have permission to view the photo.

PhotosGetNotInSet ( ) : Photos

Gets a list of photos not in sets. Defaults to include all extra fields.

PhotosGetNotInSet ( PartialSearchOptions options ) : Photos

Gets a list of the authenticated users photos which are not in a set.

PhotosGetNotInSet ( int page ) : Photos

Gets a specific page of the list of photos which are not in sets. Defaults to include all extra fields.

PhotosGetNotInSet ( int perPage, int page ) : Photos

Gets a specific page of the list of photos which are not in sets. Defaults to include all extra fields.

PhotosGetNotInSet ( int perPage, int page, PhotoSearchExtras extras ) : Photos

Gets a list of a users photos which are not in a set.

PhotosGetPerms ( string photoId ) : PhotoPermissions

Get permissions for a photo.

PhotosGetRecent ( ) : Photos

Returns a list of the latest public photos uploaded to flickr.

PhotosGetRecent ( PhotoSearchExtras extras ) : Photos

Returns a list of the latest public photos uploaded to flickr.

PhotosGetRecent ( long perPage, long page ) : Photos

Returns a list of the latest public photos uploaded to flickr.

PhotosGetRecent ( long perPage, long page, PhotoSearchExtras extras ) : Photos

Returns a list of the latest public photos uploaded to flickr.

PhotosGetSizes ( string photoId ) : Sizes

Returns the available sizes for a photo. The calling user must have permission to view the photo.

PhotosGetUntagged ( ) : Photos

Returns a list of your photos with no tags.

PhotosGetUntagged ( PhotoSearchExtras extras ) : Photos

Returns a list of your photos with no tags.

PhotosGetUntagged ( int perPage, int page ) : Photos

Returns a list of your photos with no tags.

PhotosGetUntagged ( int perPage, int page, PhotoSearchExtras extras ) : Photos

Returns a list of your photos with no tags.

PhotosGetWithGeoData ( ) : Photos

Gets a list of photos that contain geo location information.

Note, this method doesn't actually return the location information with the photos, unless you specify the PhotoSearchExtras.Geo option in the extras parameter.

PhotosGetWithGeoData ( PartialSearchOptions options ) : Photos

Gets a list of photos that contain geo location information.

Note, this method doesn't actually return the location information with the photos, unless you specify the PhotoSearchExtras.Geo option in the extras parameter.

PhotosGetWithoutGeoData ( ) : Photos

Gets a list of photos that do not contain geo location information.

PhotosGetWithoutGeoData ( PartialSearchOptions options ) : Photos

Gets a list of photos that do not contain geo location information.

PhotosLicensesGetInfo ( ) : Licenses

Gets a list of all current licenses.

PhotosRecentlyUpdated ( DateTime minDate ) : Photos

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)

PhotosRecentlyUpdated ( DateTime minDate, PhotoSearchExtras extras ) : Photos

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)

PhotosRecentlyUpdated ( DateTime minDate, PhotoSearchExtras extras, int perPage, int page ) : Photos

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)

PhotosRecentlyUpdated ( DateTime minDate, int perPage, int page ) : Photos

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)

PhotosRemoveTag ( string tagId ) : bool

Remove an existing tag.

PhotosSearch ( PhotoSearchOptions options ) : Photos

Search for a set of photos, based on the value of the PhotoSearchOptions parameters.

PhotosSearch ( string tags ) : Photos

Search for photos containing an array of tags.

PhotosSearch ( string tags, PhotoSearchExtras extras ) : Photos

Search for photos containing an array of tags.

PhotosSearch ( string tags, TagMode tagMode, string text ) : Photos

Search for photos.

PhotosSearch ( string tags, TagMode tagMode, string text, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string tags, TagMode tagMode, string text, int perPage, int page ) : Photos

Search for photos.

PhotosSearch ( string tags, TagMode tagMode, string text, int perPage, int page, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string tags, int license ) : Photos

Search for photos containing an array of tags.

PhotosSearch ( string tags, int license, PhotoSearchExtras extras ) : Photos

Search for photos containing an array of tags.

PhotosSearch ( string userId, string tags ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text, DateTime minUploadDate, DateTime maxUploadDate, int license, int perPage, int page ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text, DateTime minUploadDate, DateTime maxUploadDate, int license, int perPage, int page, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text, int perPage, int page ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, TagMode tagMode, string text, int perPage, int page, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, int license ) : Photos

Search for photos.

PhotosSearch ( string userId, string tags, int license, PhotoSearchExtras extras ) : Photos

Search for photos.

PhotosSearchText ( string text ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string text, PhotoSearchExtras extras ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string text, int license ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string text, int license, PhotoSearchExtras extras ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string userId, string text ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string userId, string text, PhotoSearchExtras extras ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string userId, string text, int license ) : Photos

Search for photos containing text, rather than tags.

PhotosSearchText ( string userId, string text, int license, PhotoSearchExtras extras ) : Photos

Search for photos containing text, rather than tags.

PhotosSetDates ( string photoId, DateTime datePosted ) : bool

Set the date the photo was posted (uploaded). This will affect the order in which photos are seen in your photostream.

All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.

PhotosSetDates ( string photoId, DateTime dateTaken, DateGranularity granularity ) : bool

Set the date taken for a photo.

All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.

PhotosSetDates ( string photoId, DateTime datePosted, DateTime dateTaken, DateGranularity granularity ) : bool

Set the date the photo was posted (uploaded) and the date the photo was taken. Changing the date posted will affect the order in which photos are seen in your photostream.

All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.

PhotosSetMeta ( string photoId, string title, string description ) : bool

Sets the title and description of the photograph.

PhotosSetPerms ( string photoId, bool isPublic, bool isFriend, bool isFamily, PermissionComment permComment, PermissionAddMeta permAddMeta ) : void

Set the permissions on a photo.

PhotosSetPerms ( string photoId, int isPublic, int isFriend, int isFamily, PermissionComment permComment, PermissionAddMeta permAddMeta ) : void

Set the permissions on a photo.

PhotosSetTags ( string photoId, string tags ) : bool

Set the tags for a photo.

This will remove all old tags and add these new ones specified. See PhotosAddTags to just add new tags without deleting old ones.

PhotosetsAddPhoto ( string photosetId, string photoId ) : void

Add a photo to a photoset.

PhotosetsCommentsAddComment ( string photosetId, string commentText ) : string

Adds a new comment to a photoset.

PhotosetsCommentsDeleteComment ( string commentId ) : void

Deletes a comment from a photoset.

PhotosetsCommentsEditComment ( string commentId, string commentText ) : void

Edits a comment.

PhotosetsCommentsGetList ( string photosetId ) : Comment[]

Gets a list of comments for a photoset.

PhotosetsCreate ( string title, string primaryPhotoId ) : Photoset

Creates a blank photoset, with a title and a primary photo (minimum requirements).

PhotosetsCreate ( string title, string description, string primaryPhotoId ) : Photoset

Creates a blank photoset, with a title, description and a primary photo.

PhotosetsDelete ( string photosetId ) : bool

Deletes the specified photoset.

PhotosetsEditMeta ( string photosetId, string title, string description ) : bool

Updates the title and description for a photoset.

PhotosetsEditPhotos ( string photosetId, string primaryPhotoId, string photoIds ) : bool

Sets the photos for a photoset.

Will remove any previous photos from the photoset. The order in thich the photoids are given is the order they will appear in the photoset page.

PhotosetsGetContext ( string photoId, string photosetId ) : Context

Gets the context of the specified photo within the photoset.

PhotosetsGetInfo ( string photosetId ) : Photoset

Gets the information about a photoset.

PhotosetsGetList ( ) : Photosets

Gets a list of the currently authenticated users photosets.

PhotosetsGetList ( string userId ) : Photosets

Gets a list of the specified users photosets.

PhotosetsGetPhotos ( string photosetId ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, PrivacyFilter privacyFilter ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, PrivacyFilter privacyFilter, int page, int perPage ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, int page, int perPage ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PrivacyFilter privacyFilter ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, PrivacyFilter privacyFilter, int page, int perPage ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsGetPhotos ( string photosetId, int page, int perPage ) : Photo[]

Gets a collection of photos for a photoset.

PhotosetsOrderSets ( string photosetIds ) : void

Changes the order of your photosets.

PhotosetsRemovePhoto ( string photosetId, string photoId ) : void

Removes a photo from a photoset.

An exception will be raised if the photo is not in the set.

ReflectionGetMethodInfo ( string methodName ) : Method

Gets the method details for a given method.

ReflectionGetMethods ( ) : string[]

Gets an array of supported method names for Flickr.

Note: Not all methods might be supported by the FlickrNet Library.

ReplacePicture ( Stream stream, string photoId ) : string

Replace an existing photo on Flickr.

ReplacePicture ( string filename, string photoId ) : string

Replace an existing photo on Flickr.

TagsGetListPhoto ( string photoId ) : PhotoInfo

Get the tag list for a given photo.

TagsGetListUser ( ) : Tag[]

Get the tag list for a given user (or the currently logged in user).

TagsGetListUser ( string userId ) : Tag[]

Get the tag list for a given user (or the currently logged in user).

TagsGetListUserPopular ( ) : Tag[]

Get the popular tags for a given user (or the currently logged in user).

TagsGetListUserPopular ( int count ) : Tag[]

Get the popular tags for a given user (or the currently logged in user).

TagsGetListUserPopular ( string userId ) : Tag[]

Get the popular tags for a given user (or the currently logged in user).

TagsGetListUserPopular ( string userId, long count ) : Tag[]

Get the popular tags for a given user (or the currently logged in user).

TagsGetRelated ( string tag ) : Tag[]

Returns a list of tags 'related' to the given tag, based on clustered usage analysis.

TestEcho ( string echoParameter, string echoValue ) : XmlElement[]

Runs the flickr.test.echo method and returned an array of XmlElement items.

The APi Key has been removed from the returned array and will not be shown.

TestGeneric ( string method, NameValueCollection parameters ) : XmlElement[]

Can be used to call unsupported methods in the Flickr API.

Use of this method is not supported. The way the FlickrNet API Library works may mean that some methods do not return an expected result when using this method.

TestLogin ( ) : FoundUser

Test the logged in state of the current Filckr object.

TransformRotate ( string photoId, int degrees ) : void

Rotates a photo on Flickr.

Does not rotate the original photo.

UploadPicture ( Stream stream, string title, string description, string tags, int isPublic, int isFamily, int isFriend ) : string

UploadPicture method that does all the uploading work.

UploadPicture ( string filename ) : string

Uploads a file to Flickr.

Other exceptions may be thrown, see FileStream constructors for more details.

UploadPicture ( string filename, string title ) : string

Uploads a file to Flickr.

Other exceptions may be thrown, see FileStream constructors for more details.

UploadPicture ( string filename, string title, string description ) : string

Uploads a file to Flickr.

Other exceptions may be thrown, see FileStream constructors for more details.

UploadPicture ( string filename, string title, string description, string tags ) : string

Uploads a file to Flickr.

Other exceptions may be thrown, see FileStream constructors for more details.

UploadPicture ( string filename, string title, string description, string tags, bool isPublic, bool isFamily, bool isFriend ) : string

Uploads a file to Flickr.

Other exceptions may be thrown, see FileStream constructors for more details.

UrlsGetGroup ( string groupId ) : Uri

Returns the url to a group's page.

UrlsGetUserPhotos ( ) : Uri

Returns the url to a user's photos.

UrlsGetUserPhotos ( string userId ) : Uri

Returns the url to a user's photos.

UrlsGetUserProfile ( ) : Uri

Returns the url to a user's profile.

UrlsGetUserProfile ( string userId ) : Uri

Returns the url to a user's profile.

UrlsLookupGroup ( string urlToFind ) : string

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

UrlsLookupUser ( string urlToFind ) : FoundUser

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

Private Methods

Method Description
ActivityUserPhotos ( string timeframe ) : FlickrNet.ActivityItem[]
Deserialize ( string responseString ) : Response

Converts the response string (in XML) into the Response object.

DoDownloadPicture ( string url ) : System.Stream

Download a picture (or anything else actually).

DoGetResponse ( string url ) : string

A private method which performs the actual HTTP web request if the details are not found within the cache.

GetResponse ( Hashtable parameters, TimeSpan cacheTimeout ) : Response
GetResponseAlwaysCache ( Hashtable parameters ) : Response
GetResponseCache ( Hashtable parameters ) : Response
GetResponseNoCache ( Hashtable parameters ) : Response
Md5Hash ( string unhashed ) : string
PhotosGetWithGeoData ( PhotoSearchOptions options ) : Photos
PhotosGetWithoutGeoData ( PhotoSearchOptions options ) : Photos

Method Details

ActivityUserComments() public method

Returns a list of recent activity on photos commented on by the calling user.
Do not poll this method more than once an hour.
public ActivityUserComments ( ) : FlickrNet.ActivityItem[]
return FlickrNet.ActivityItem[]

ActivityUserPhotos() public method

Returns a list of recent activity on photos belonging to the calling user.
Do not poll this method more than once an hour.
public ActivityUserPhotos ( ) : FlickrNet.ActivityItem[]
return FlickrNet.ActivityItem[]

ActivityUserPhotos() public method

Returns a list of recent activity on photos belonging to the calling user.
Do not poll this method more than once an hour.
public ActivityUserPhotos ( int timePeriod, string timeType ) : FlickrNet.ActivityItem[]
timePeriod int The number of days or hours you want to get activity for.
timeType string 'd' for days, 'h' for hours.
return FlickrNet.ActivityItem[]

AuthCalcUrl() public method

Calculates the URL to redirect the user to Flickr web site for authentication. Used by desktop application. See AuthGetFrob for example code.
public AuthCalcUrl ( string frob, AuthLevel authLevel ) : string
frob string The FROB to be used for authentication.
authLevel AuthLevel The stating the maximum authentication level your application requires.
return string

AuthCalcWebUrl() public method

Calculates the URL to redirect the user to Flickr web site for auehtntication. Used by Web applications. See AuthGetFrob for example code.
The Flickr web site provides 'tiny urls' that can be used in place of this URL when you specify your return url in the API key page. It is recommended that you use these instead as they do not include your API or shared secret.
public AuthCalcWebUrl ( AuthLevel authLevel ) : string
authLevel AuthLevel The stating the maximum authentication level your application requires.
return string

AuthCheckToken() public method

Checks a authentication token with the flickr service to make sure it is still valid.
public AuthCheckToken ( string token ) : Auth
token string The authentication token to check.
return Auth

AuthGetFrob() public method

Retrieve a temporary FROB from the Flickr service, to be used in redirecting the user to the Flickr web site for authentication. Only required for desktop authentication.
Pass the FROB to the AuthCalcUrl method to calculate the url.
public AuthGetFrob ( ) : string
return string

AuthGetFullToken() public method

Gets the full token details for a given mini token, entered by the user following a web based authentication.
public AuthGetFullToken ( string miniToken ) : Auth
miniToken string The mini token.
return Auth

AuthGetToken() public method

After the user has authenticated your application on the flickr web site call this method with the FROB (either stored from AuthGetFrob or returned in the URL from the Flickr web site) to get the users token.
public AuthGetToken ( string frob ) : Auth
frob string The string containing the FROB.
return Auth

BlogGetList() public method

Gets a list of blogs that have been set up by the user. Requires authentication.
public BlogGetList ( ) : FlickrNet.Blogs
return FlickrNet.Blogs

BlogPostPhoto() public method

Posts a photo already uploaded to a blog. Requires authentication.
public BlogPostPhoto ( string blogId, string photoId, string title, string description ) : bool
blogId string The Id of the blog to post the photo too.
photoId string The Id of the photograph to post.
title string The title of the blog post.
description string The body of the blog post.
return bool

BlogPostPhoto() public method

Posts a photo already uploaded to a blog. Requires authentication.
public BlogPostPhoto ( string blogId, string photoId, string title, string description, string blogPassword ) : bool
blogId string The Id of the blog to post the photo too.
photoId string The Id of the photograph to post.
title string The title of the blog post.
description string The body of the blog post.
blogPassword string The password of the blog if it is not already stored in flickr.
return bool

ContactsGetList() public method

Gets a list of contacts for the logged in user. Requires authentication.
public ContactsGetList ( ) : FlickrNet.Contacts
return FlickrNet.Contacts

ContactsGetPublicList() public method

Gets a list of the given users contact, or those that are publically avaiable.
public ContactsGetPublicList ( string userId ) : FlickrNet.Contacts
userId string The Id of the user who's contacts you want to return.
return FlickrNet.Contacts

DownloadPicture() public method

Downloads the picture from a internet and transfers it to a stream object.
The method checks the download cache first to see if the picture has already been downloaded and if so returns the cached image. Otherwise it goes to the internet for the actual image.
public DownloadPicture ( string url ) : Stream
url string The url of the image to download.
return System.IO.Stream

FavoritesAdd() public method

Adds a photo to the logged in favourites. Requires authentication.
public FavoritesAdd ( string photoId ) : bool
photoId string The id of the photograph to add.
return bool

FavoritesGetList() public method

Get a list of the currently logger in users favourites. Requires authentication.
public FavoritesGetList ( ) : Photos
return Photos

FavoritesGetList() public method

Get a list of the currently logger in users favourites. Requires authentication.
public FavoritesGetList ( int perPage, int page ) : Photos
perPage int Number of photos to include per page.
page int The page to download this time.
return Photos

FavoritesGetList() public method

Get a list of favourites for the specified user.
public FavoritesGetList ( string userId ) : Photos
userId string The user id of the user whose favourites you wish to retrieve.
return Photos

FavoritesGetList() public method

Get a list of favourites for the specified user.
public FavoritesGetList ( string userId, int perPage, int page ) : Photos
userId string The user id of the user whose favourites you wish to retrieve.
perPage int Number of photos to include per page.
page int The page to download this time.
return Photos

FavoritesGetPublicList() public method

Gets the public favourites for a specified user.
This function difers from Flickr.FavoritesGetList(string) in that the user id is not optional.
public FavoritesGetPublicList ( string userId ) : Photos
userId string The is of the user whose favourites you wish to return.
return Photos

FavoritesGetPublicList() public method

Gets the public favourites for a specified user.
This function difers from Flickr.FavoritesGetList(string) in that the user id is not optional.
public FavoritesGetPublicList ( string userId, int perPage, int page ) : Photos
userId string The is of the user whose favourites you wish to return.
perPage int The number of photos to return per page.
page int The specific page to return.
return Photos

FavoritesRemove() public method

Removes a photograph from the logged in users favourites. Requires authentication.
public FavoritesRemove ( string photoId ) : bool
photoId string The id of the photograph to remove.
return bool

Flickr() public method

Constructor loads configuration settings from app.config or web.config file if they exist.
public Flickr ( ) : System
return System

Flickr() public method

Create a new instance of the Flickr class with no authentication.
public Flickr ( string apiKey ) : System
apiKey string Your Flickr API Key.
return System

Flickr() public method

Creates a new instance of the Flickr class with an API key and a Shared Secret. This is only useful really useful for calling the Auth functions as all other authenticationed methods also require the API Token.
public Flickr ( string apiKey, string sharedSecret ) : System
apiKey string Your Flickr API Key.
sharedSecret string Your Flickr Shared Secret.
return System

Flickr() public method

Create a new instance of the Flickr class with the email address and password given
public Flickr ( string apiKey, string sharedSecret, string token ) : System
apiKey string Your Flickr API Key
sharedSecret string Your FLickr Shared Secret.
token string The token for the user who has been authenticated.
return System

FlushCache() public static method

Clears the cache completely.
public static FlushCache ( ) : void
return void

FlushCache() public static method

Clears the cache for a particular URL.
The URL can either be an image URL for a downloaded picture, or a request URL (see LastRequest for getting the last URL).
public static FlushCache ( string url ) : void
url string The URL to remove from the cache.
return void

GetCachePictures() public static method

Provides static access to the list of cached photos.
public static GetCachePictures ( ) : PictureCacheItem[]
return PictureCacheItem[]

GroupPoolAdd() public method

Adds a photo to a pool you have permission to add photos to.
public GroupPoolAdd ( string photoId, string groupId ) : bool
photoId string The id of one of your photos to be added.
groupId string The id of a group you are a member of.
return bool

GroupPoolGetContext() public method

Gets the context for a photo from within a group. This provides the id and thumbnail url for the next and previous photos in the group.
public GroupPoolGetContext ( string photoId, string groupId ) : Context
photoId string The Photo ID for the photo you want the context for.
groupId string The group ID for the group you want the context to be relevant to.
return Context

GroupPoolGetGroups() public method

Gets a list of
public GroupPoolGetGroups ( ) : MemberGroupInfo[]
return MemberGroupInfo[]

GroupPoolGetPhotos() public method

Gets a list of photos for a given group.
public GroupPoolGetPhotos ( string groupId ) : Photos
groupId string The group ID for the group.
return Photos

GroupPoolGetPhotos() public method

Gets a list of photos for a given group.
public GroupPoolGetPhotos ( string groupId, int perPage, int page ) : Photos
groupId string The group ID for the group.
perPage int The number of photos per page.
page int The page to return.
return Photos

GroupPoolGetPhotos() public method

Gets a list of photos for a given group.
public GroupPoolGetPhotos ( string groupId, string tags ) : Photos
groupId string The group ID for the group.
tags string Space seperated list of tags that photos returned must have.
return Photos

GroupPoolGetPhotos() public method

Gets a list of photos for a given group.
public GroupPoolGetPhotos ( string groupId, string tags, int perPage, int page ) : Photos
groupId string The group ID for the group.
tags string Space seperated list of tags that photos returned must have.
perPage int The number of photos per page.
page int The page to return.
return Photos

GroupPoolGetPhotos() public method

Gets a list of photos for a given group.
public GroupPoolGetPhotos ( string groupId, string tags, string userId, PhotoSearchExtras extras, int perPage, int page ) : Photos
groupId string The group ID for the group.
tags string Space seperated list of tags that photos returned must have. /// Currently only supports 1 tag at a time.
userId string The group member to return photos for.
extras PhotoSearchExtras The specifying which extras to return. All other overloads default to returning all extras.
perPage int The number of photos per page.
page int The page to return.
return Photos

GroupPoolRemove() public method

Remove a picture from a group.
public GroupPoolRemove ( string photoId, string groupId ) : bool
photoId string The id of one of your pictures you wish to remove.
groupId string The id of the group to remove the picture from.
return bool

GroupsBrowse() public method

Returns the top Category with a list of sub-categories and groups. (The top category does not have any groups in it but others may).
public GroupsBrowse ( ) : Category
return Category

GroupsBrowse() public method

Returns the Category specified by the category id with a list of sub-categories and groups.
public GroupsBrowse ( string catId ) : Category
catId string
return Category

GroupsGetInfo() public method

Returns a GroupFullInfo object containing details about a group.
public GroupsGetInfo ( string groupId ) : GroupFullInfo
groupId string The id of the group to return.
return GroupFullInfo

GroupsSearch() public method

Search the list of groups on Flickr for the text.
public GroupsSearch ( string text ) : GroupSearchResults
text string The text to search for.
return GroupSearchResults

GroupsSearch() public method

Search the list of groups on Flickr for the text.
public GroupsSearch ( string text, int page ) : GroupSearchResults
text string The text to search for.
page int The page of the results to return.
return GroupSearchResults

GroupsSearch() public method

Search the list of groups on Flickr for the text.
public GroupsSearch ( string text, int page, int perPage ) : GroupSearchResults
text string The text to search for.
page int The page of the results to return.
perPage int The number of groups to list per page.
return GroupSearchResults

InterestingnessGetList() public method

Gets a list of photos from the most recent interstingness list.
public InterestingnessGetList ( ) : Photos
return Photos

InterestingnessGetList() public method

Gets a list of photos from the interstingness list for the specified date.
public InterestingnessGetList ( DateTime date ) : Photos
date DateTime The date to return the interestingness list for.
return Photos

InterestingnessGetList() public method

Gets a list of photos from the most recent interstingness list.
public InterestingnessGetList ( DateTime date, PhotoSearchExtras extras, int perPage, int page ) : Photos
date DateTime The date to return the interestingness photos for.
extras PhotoSearchExtras The extra parameters to return along with the search results. /// See for more details.
perPage int The number of results to return per page.
page int The page of the results to return.
return Photos

InterestingnessGetList() public method

Gets a list of photos from the most recent interstingness list.
public InterestingnessGetList ( PhotoSearchExtras extras, int perPage, int page ) : Photos
extras PhotoSearchExtras enumeration.
perPage int Number of photos per page.
page int The page number to return.
return Photos

IsUrlCached() public static method

Check a url for existance in the cache
public static IsUrlCached ( string url ) : bool
url string
return bool

NotesAdd() public method

Add a note to a picture.
public NotesAdd ( string photoId, int noteX, int noteY, int noteWidth, int noteHeight, string noteText ) : string
photoId string The photo id to add the note to.
noteX int The X co-ordinate of the upper left corner of the note.
noteY int The Y co-ordinate of the upper left corner of the note.
noteWidth int The width of the note.
noteHeight int The height of the note.
noteText string The text in the note.
return string

NotesDelete() public method

Delete an existing note.
public NotesDelete ( string noteId ) : void
noteId string The ID of the note.
return void

NotesEdit() public method

Edit and update a note.
public NotesEdit ( string noteId, int noteX, int noteY, int noteWidth, int noteHeight, string noteText ) : void
noteId string The ID of the note to update.
noteX int The X co-ordinate of the upper left corner of the note.
noteY int The Y co-ordinate of the upper left corner of the note.
noteWidth int The width of the note.
noteHeight int The height of the note.
noteText string The new text in the note.
return void

PeopleFindByEmail() public method

Used to fid a flickr users details by specifying their email address.
A FlickrException is raised if the email address is not found.
public PeopleFindByEmail ( string emailAddress ) : FoundUser
emailAddress string The email address to search on.
return FoundUser

PeopleFindByUsername() public method

Returns a FoundUser object matching the screen name.
A FlickrException is raised if the email address is not found.
public PeopleFindByUsername ( string username ) : FoundUser
username string The screen name or username of the user.
return FoundUser

PeopleGetInfo() public method

Gets the Person object for the given user id.
public PeopleGetInfo ( string userId ) : Person
userId string The user id to find.
return Person

PeopleGetPublicGroups() public method

Get a list of public groups for a user.
public PeopleGetPublicGroups ( string userId ) : PublicGroupInfo[]
userId string The user id to get groups for.
return PublicGroupInfo[]

PeopleGetPublicPhotos() public method

Gets a users public photos. Excludes private photos.
public PeopleGetPublicPhotos ( string userId ) : Photos
userId string The user id of the user.
return Photos

PeopleGetUploadStatus() public method

Gets the upload status of the authenticated user.
public PeopleGetUploadStatus ( ) : UserStatus
return UserStatus

PhotosAddTags() public method

Add a selection of tags to a photo.
public PhotosAddTags ( string photoId, string tags ) : void
photoId string The photo id of the photo.
tags string An array of strings containing the tags.
return void

PhotosCommentsAddComment() public method

Adds a new comment to a photo.
public PhotosCommentsAddComment ( string photoId, string commentText ) : string
photoId string The ID of the photo to add the comment to.
commentText string The text of the comment. Can contain some HTML.
return string

PhotosCommentsDeleteComment() public method

Deletes a comment from a photo.
public PhotosCommentsDeleteComment ( string commentId ) : void
commentId string The ID of the comment to delete.
return void

PhotosCommentsEditComment() public method

Edits a comment.
public PhotosCommentsEditComment ( string commentId, string commentText ) : void
commentId string The ID of the comment to edit.
commentText string The new text for the comment.
return void

PhotosCommentsGetList() public method

Gets a list of comments for a photo.
public PhotosCommentsGetList ( string photoId ) : Comment[]
photoId string The id of the photo to return the comments for.
return Comment[]

PhotosDelete() public method

Delete a photo from Flickr.
Requires Delete permissions. Also note, photos cannot be recovered once deleted.
public PhotosDelete ( string photoId ) : void
photoId string The ID of the photo to delete.
return void

PhotosGeoGetLocation() public method

Returns the location data for a give photo.
public PhotosGeoGetLocation ( string photoId ) : PhotoLocation
photoId string The ID of the photo to return the location information for.
return PhotoLocation

PhotosGeoGetPerms() public method

Get permissions for a photo.
public PhotosGeoGetPerms ( string photoId ) : GeoPermissions
photoId string The id of the photo to get permissions for.
return GeoPermissions

PhotosGeoRemoveLocation() public method

Removes Location information.
public PhotosGeoRemoveLocation ( string photoId ) : bool
photoId string The photo ID of the photo to remove information from.
return bool

PhotosGeoSetLocation() public method

Sets the geo location for a photo.
public PhotosGeoSetLocation ( string photoId, double latitude, double longitude ) : void
photoId string The ID of the photo to set to location for.
latitude double The latitude of the geo location. A double number ranging from -180.00 to 180.00. Digits beyond 6 decimal places will be truncated.
longitude double The longitude of the geo location. A double number ranging from -180.00 to 180.00. Digits beyond 6 decimal places will be truncated.
return void

PhotosGeoSetLocation() public method

Sets the geo location for a photo.
public PhotosGeoSetLocation ( string photoId, double latitude, double longitude, GeoAccuracy accuracy ) : void
photoId string The ID of the photo to set to location for.
latitude double The latitude of the geo location. A double number ranging from -180.00 to 180.00. Digits beyond 6 decimal places will be truncated.
longitude double The longitude of the geo location. A double number ranging from -180.00 to 180.00. Digits beyond 6 decimal places will be truncated.
accuracy GeoAccuracy The accuracy of the photos geo location.
return void

PhotosGeoSetPerms() public method

Set the permission for who can see geotagged photos on Flickr.
public PhotosGeoSetPerms ( string photoId, bool IsPublic, bool IsContact, bool IsFamily, bool IsFriend ) : void
photoId string The ID of the photo permissions to update.
IsPublic bool
IsContact bool
IsFamily bool
IsFriend bool
return void

PhotosGetAllContexts() public method

Get all the contexts (group, set and photostream 'next' and 'previous' pictures) for a photo.
public PhotosGetAllContexts ( string photoId ) : AllContexts
photoId string The photo id of the photo to get the contexts for.
return AllContexts

PhotosGetContactsPhotos() public method

Gets the most recent 10 photos from your contacts.
public PhotosGetContactsPhotos ( ) : Photos
return Photos

PhotosGetContactsPhotos() public method

Gets the most recent photos from your contacts.
Returns the most recent photos from all your contact, excluding yourself.
/// Throws a exception if the cound /// is not between 10 and 50, or 0.
public PhotosGetContactsPhotos ( long count ) : Photos
count long The number of photos to return, from between 10 and 50.
return Photos

PhotosGetContactsPhotos() public method

Gets your contacts most recent photos.
/// Throws a exception if the cound /// is not between 10 and 50, or 0.
public PhotosGetContactsPhotos ( long count, bool justFriends, bool singlePhoto, bool includeSelf ) : Photos
count long The number of photos to return, from between 10 and 50.
justFriends bool If true only returns photos from contacts marked as /// 'friends'.
singlePhoto bool If true only returns a single photo for each of your contacts. /// Ignores the count if this is true.
includeSelf bool If true includes yourself in the group of people to /// return photos for.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId ) : Photos
userId string The user ID whose contacts you wish to get photos for.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId, PhotoSearchExtras extras ) : Photos
userId string The user ID whose contacts you wish to get photos for.
extras PhotoSearchExtras A list of extra details to return for each photo.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId, long count ) : Photos
userId string The user ID whose contacts you wish to get photos for.
count long The number of photos to return. Defaults to 10, maximum is 50.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId, long count, PhotoSearchExtras extras ) : Photos
userId string The user ID whose contacts you wish to get photos for.
count long The number of photos to return. Defaults to 10, maximum is 50.
extras PhotoSearchExtras A list of extra details to return for each photo.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId, long count, bool justFriends, bool singlePhoto, bool includeSelf ) : Photos
userId string The user ID whose contacts you wish to get photos for.
count long The number of photos to return. Defaults to 10, maximum is 50.
justFriends bool True to just return photos from friends and family (excluding regular contacts).
singlePhoto bool True to return just a single photo for each contact.
includeSelf bool True to include photos from the user ID specified as well.
return Photos

PhotosGetContactsPublicPhotos() public method

Gets the public photos for given users ID's contacts.
public PhotosGetContactsPublicPhotos ( string userId, long count, bool justFriends, bool singlePhoto, bool includeSelf, PhotoSearchExtras extras ) : Photos
userId string The user ID whose contacts you wish to get photos for.
count long The number of photos to return. Defaults to 10, maximum is 50.
justFriends bool True to just return photos from friends and family (excluding regular contacts).
singlePhoto bool True to return just a single photo for each contact.
includeSelf bool True to include photos from the user ID specified as well.
extras PhotoSearchExtras A list of extra details to return for each photo.
return Photos

PhotosGetContext() public method

Gets the context of the photo in the users photostream.
public PhotosGetContext ( string photoId ) : Context
photoId string The ID of the photo to return the context for.
return Context

PhotosGetCounts() public method

Returns count of photos between each pair of dates in the list.
If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.
public PhotosGetCounts ( DateTime dates ) : PhotoCounts
dates DateTime Array of objects.
return PhotoCounts

PhotosGetCounts() public method

Returns count of photos between each pair of dates in the list.
If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.
public PhotosGetCounts ( DateTime dates, bool taken ) : PhotoCounts
dates DateTime Array of objects.
taken bool Boolean parameter to specify if the dates are the taken date, or uploaded date.
return PhotoCounts

PhotosGetCounts() public method

Returns count of photos between each pair of dates in the list.
If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.
public PhotosGetCounts ( string dates ) : PhotoCounts
dates string Comma-delimited list of dates in unix timestamp format. Optional.
return PhotoCounts

PhotosGetCounts() public method

Returns count of photos between each pair of dates in the list.
If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.
public PhotosGetCounts ( string dates, string taken_dates ) : PhotoCounts
dates string Comma-delimited list of dates in unix timestamp format. Optional.
taken_dates string Comma-delimited list of dates in unix timestamp format. Optional.
return PhotoCounts

PhotosGetExif() public method

Gets the EXIF data for a given Photo ID.
public PhotosGetExif ( string photoId ) : ExifPhoto
photoId string The Photo ID of the photo to return the EXIF data for.
return ExifPhoto

PhotosGetExif() public method

Gets the EXIF data for a given Photo ID.
public PhotosGetExif ( string photoId, string secret ) : ExifPhoto
photoId string The Photo ID of the photo to return the EXIF data for.
secret string The secret of the photo. If the secret is specified then /// authentication checks are bypassed.
return ExifPhoto

PhotosGetInfo() public method

Get information about a photo. The calling user must have permission to view the photo.
public PhotosGetInfo ( string photoId ) : PhotoInfo
photoId string The id of the photo to fetch information for.
return PhotoInfo

PhotosGetInfo() public method

Get information about a photo. The calling user must have permission to view the photo.
public PhotosGetInfo ( string photoId, string secret ) : PhotoInfo
photoId string The id of the photo to fetch information for.
secret string The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the 'sharing' of individual photos by passing around the id and secret.
return PhotoInfo

PhotosGetNotInSet() public method

Gets a list of photos not in sets. Defaults to include all extra fields.
public PhotosGetNotInSet ( ) : Photos
return Photos

PhotosGetNotInSet() public method

Gets a list of the authenticated users photos which are not in a set.
public PhotosGetNotInSet ( PartialSearchOptions options ) : Photos
options PartialSearchOptions A selection of options to filter/sort by.
return Photos

PhotosGetNotInSet() public method

Gets a specific page of the list of photos which are not in sets. Defaults to include all extra fields.
public PhotosGetNotInSet ( int page ) : Photos
page int The page number to return.
return Photos

PhotosGetNotInSet() public method

Gets a specific page of the list of photos which are not in sets. Defaults to include all extra fields.
public PhotosGetNotInSet ( int perPage, int page ) : Photos
perPage int Number of photos per page.
page int The page number to return.
return Photos

PhotosGetNotInSet() public method

Gets a list of a users photos which are not in a set.
public PhotosGetNotInSet ( int perPage, int page, PhotoSearchExtras extras ) : Photos
perPage int Number of photos per page.
page int The page number to return.
extras PhotoSearchExtras enumeration.
return Photos

PhotosGetPerms() public method

Get permissions for a photo.
public PhotosGetPerms ( string photoId ) : PhotoPermissions
photoId string The id of the photo to get permissions for.
return PhotoPermissions

PhotosGetRecent() public method

Returns a list of the latest public photos uploaded to flickr.
public PhotosGetRecent ( ) : Photos
return Photos

PhotosGetRecent() public method

Returns a list of the latest public photos uploaded to flickr.
public PhotosGetRecent ( PhotoSearchExtras extras ) : Photos
extras PhotoSearchExtras A comma-delimited list of extra information to fetch for each returned record.
return Photos

PhotosGetRecent() public method

Returns a list of the latest public photos uploaded to flickr.
public PhotosGetRecent ( long perPage, long page ) : Photos
perPage long Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page long The page of results to return. If this argument is omitted, it defaults to 1.
return Photos

PhotosGetRecent() public method

Returns a list of the latest public photos uploaded to flickr.
public PhotosGetRecent ( long perPage, long page, PhotoSearchExtras extras ) : Photos
perPage long Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page long The page of results to return. If this argument is omitted, it defaults to 1.
extras PhotoSearchExtras A comma-delimited list of extra information to fetch for each returned record.
return Photos

PhotosGetSizes() public method

Returns the available sizes for a photo. The calling user must have permission to view the photo.
public PhotosGetSizes ( string photoId ) : Sizes
photoId string The id of the photo to fetch size information for.
return Sizes

PhotosGetUntagged() public method

Returns a list of your photos with no tags.
public PhotosGetUntagged ( ) : Photos
return Photos

PhotosGetUntagged() public method

Returns a list of your photos with no tags.
public PhotosGetUntagged ( PhotoSearchExtras extras ) : Photos
extras PhotoSearchExtras A comma-delimited list of extra information to fetch for each returned record.
return Photos

PhotosGetUntagged() public method

Returns a list of your photos with no tags.
public PhotosGetUntagged ( int perPage, int page ) : Photos
perPage int Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page int The page of results to return. If this argument is omitted, it defaults to 1.
return Photos

PhotosGetUntagged() public method

Returns a list of your photos with no tags.
public PhotosGetUntagged ( int perPage, int page, PhotoSearchExtras extras ) : Photos
perPage int Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page int The page of results to return. If this argument is omitted, it defaults to 1.
extras PhotoSearchExtras A comma-delimited list of extra information to fetch for each returned record.
return Photos

PhotosGetWithGeoData() public method

Gets a list of photos that contain geo location information.
Note, this method doesn't actually return the location information with the photos, unless you specify the PhotoSearchExtras.Geo option in the extras parameter.
public PhotosGetWithGeoData ( ) : Photos
return Photos

PhotosGetWithGeoData() public method

Gets a list of photos that contain geo location information.
Note, this method doesn't actually return the location information with the photos, unless you specify the PhotoSearchExtras.Geo option in the extras parameter.
public PhotosGetWithGeoData ( PartialSearchOptions options ) : Photos
options PartialSearchOptions The options to filter/sort the results by.
return Photos

PhotosGetWithoutGeoData() public method

Gets a list of photos that do not contain geo location information.
public PhotosGetWithoutGeoData ( ) : Photos
return Photos

PhotosGetWithoutGeoData() public method

Gets a list of photos that do not contain geo location information.
public PhotosGetWithoutGeoData ( PartialSearchOptions options ) : Photos
options PartialSearchOptions A limited set of options are supported.
return Photos

PhotosLicensesGetInfo() public method

Gets a list of all current licenses.
public PhotosLicensesGetInfo ( ) : Licenses
return Licenses

PhotosRecentlyUpdated() public method

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)
public PhotosRecentlyUpdated ( DateTime minDate ) : Photos
minDate DateTime The date from which modifications should be compared.
return Photos

PhotosRecentlyUpdated() public method

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)
public PhotosRecentlyUpdated ( DateTime minDate, PhotoSearchExtras extras ) : Photos
minDate DateTime The date from which modifications should be compared.
extras PhotoSearchExtras A list of extra information to fetch for each returned record.
return Photos

PhotosRecentlyUpdated() public method

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)
public PhotosRecentlyUpdated ( DateTime minDate, PhotoSearchExtras extras, int perPage, int page ) : Photos
minDate DateTime The date from which modifications should be compared.
extras PhotoSearchExtras A list of extra information to fetch for each returned record.
perPage int Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page int The page of results to return. If this argument is omitted, it defaults to 1.
return Photos

PhotosRecentlyUpdated() public method

Return a list of your photos that have been recently created or which have been recently modified. Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)
public PhotosRecentlyUpdated ( DateTime minDate, int perPage, int page ) : Photos
minDate DateTime The date from which modifications should be compared.
perPage int Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page int The page of results to return. If this argument is omitted, it defaults to 1.
return Photos

PhotosRemoveTag() public method

Remove an existing tag.
public PhotosRemoveTag ( string tagId ) : bool
tagId string The id of the tag, as returned by or similar method.
return bool

PhotosSearch() public method

Search for a set of photos, based on the value of the PhotoSearchOptions parameters.
public PhotosSearch ( PhotoSearchOptions options ) : Photos
options PhotoSearchOptions The parameters to search for.
return Photos

PhotosSearch() public method

Search for photos containing an array of tags.
public PhotosSearch ( string tags ) : Photos
tags string An array of tags to search for.
return Photos

PhotosSearch() public method

Search for photos containing an array of tags.
public PhotosSearch ( string tags, PhotoSearchExtras extras ) : Photos
tags string An array of tags to search for.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string tags, TagMode tagMode, string text ) : Photos
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string tags, TagMode tagMode, string text, PhotoSearchExtras extras ) : Photos
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string tags, TagMode tagMode, string text, int perPage, int page ) : Photos
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
perPage int Number of photos to return per page.
page int The page number to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string tags, TagMode tagMode, string text, int perPage, int page, PhotoSearchExtras extras ) : Photos
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
perPage int Number of photos to return per page.
page int The page number to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos containing an array of tags.
public PhotosSearch ( string tags, int license ) : Photos
tags string An array of tags to search for.
license int The license type to return.
return Photos

PhotosSearch() public method

Search for photos containing an array of tags.
public PhotosSearch ( string tags, int license, PhotoSearchExtras extras ) : Photos
tags string An array of tags to search for.
license int The license type to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, PhotoSearchExtras extras ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text, DateTime minUploadDate, DateTime maxUploadDate, int license, int perPage, int page ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
minUploadDate DateTime The minimum upload date.
maxUploadDate DateTime The maxmimum upload date.
license int The license type to return.
perPage int Number of photos to return per page.
page int The page number to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text, DateTime minUploadDate, DateTime maxUploadDate, int license, int perPage, int page, PhotoSearchExtras extras ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
minUploadDate DateTime The minimum upload date.
maxUploadDate DateTime The maxmimum upload date.
license int The license type to return.
perPage int Number of photos to return per page.
page int The page number to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text, PhotoSearchExtras extras ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text, int perPage, int page ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
perPage int Number of photos to return per page.
page int The page number to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, TagMode tagMode, string text, int perPage, int page, PhotoSearchExtras extras ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
tagMode TagMode Match all tags, or any tag.
text string Text to search for in photo title or description.
perPage int Number of photos to return per page.
page int The page number to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, int license ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
license int The license type to return.
return Photos

PhotosSearch() public method

Search for photos.
public PhotosSearch ( string userId, string tags, int license, PhotoSearchExtras extras ) : Photos
userId string The ID of the user to search the photos of.
tags string An array of tags to search for.
license int The license type to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string text ) : Photos
text string The text you want to search for in titles and descriptions.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string text, PhotoSearchExtras extras ) : Photos
text string The text you want to search for in titles and descriptions.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string text, int license ) : Photos
text string The text you want to search for in titles and descriptions.
license int The license type to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string text, int license, PhotoSearchExtras extras ) : Photos
text string The text you want to search for in titles and descriptions.
license int The license type to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string userId, string text ) : Photos
userId string The user whose photos you wish to search for.
text string The text you want to search for in titles and descriptions.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string userId, string text, PhotoSearchExtras extras ) : Photos
userId string The user whose photos you wish to search for.
text string The text you want to search for in titles and descriptions.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string userId, string text, int license ) : Photos
userId string The user whose photos you wish to search for.
text string The text you want to search for in titles and descriptions.
license int The license type to return.
return Photos

PhotosSearchText() public method

Search for photos containing text, rather than tags.
public PhotosSearchText ( string userId, string text, int license, PhotoSearchExtras extras ) : Photos
userId string The user whose photos you wish to search for.
text string The text you want to search for in titles and descriptions.
license int The license type to return.
extras PhotoSearchExtras Optional extras to return.
return Photos

PhotosSetDates() public method

Set the date the photo was posted (uploaded). This will affect the order in which photos are seen in your photostream.
All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.
public PhotosSetDates ( string photoId, DateTime datePosted ) : bool
photoId string The id of the photo to set the date posted.
datePosted DateTime The new date to set the date posted too.
return bool

PhotosSetDates() public method

Set the date taken for a photo.
All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.
public PhotosSetDates ( string photoId, DateTime dateTaken, DateGranularity granularity ) : bool
photoId string The id of the photo to set the date taken for.
dateTaken DateTime The date taken.
granularity DateGranularity The granularity of the date taken.
return bool

PhotosSetDates() public method

Set the date the photo was posted (uploaded) and the date the photo was taken. Changing the date posted will affect the order in which photos are seen in your photostream.
All dates are assumed to be GMT. It is the developers responsibility to change dates to the local users timezone.
public PhotosSetDates ( string photoId, DateTime datePosted, DateTime dateTaken, DateGranularity granularity ) : bool
photoId string The id of the photo to set the dates.
datePosted DateTime The new date to set the date posted too.
dateTaken DateTime The new date to set the date taken too.
granularity DateGranularity The granularity of the date taken.
return bool

PhotosSetMeta() public method

Sets the title and description of the photograph.
Thrown when the photo id cannot be found.
public PhotosSetMeta ( string photoId, string title, string description ) : bool
photoId string The numerical photoId of the photograph.
title string The new title of the photograph.
description string The new description of the photograph.
return bool

PhotosSetPerms() public method

Set the permissions on a photo.
public PhotosSetPerms ( string photoId, bool isPublic, bool isFriend, bool isFamily, PermissionComment permComment, PermissionAddMeta permAddMeta ) : void
photoId string The id of the photo to update.
isPublic bool True if the photo is public, False if it is not.
isFriend bool True if the photo is viewable by friends, False if it is not.
isFamily bool True if the photo is viewable by family, False if it is not.
permComment PermissionComment Who can add comments. See for more details.
permAddMeta PermissionAddMeta Who can add metadata (notes and tags). See for more details.
return void

PhotosSetPerms() public method

Set the permissions on a photo.
public PhotosSetPerms ( string photoId, int isPublic, int isFriend, int isFamily, PermissionComment permComment, PermissionAddMeta permAddMeta ) : void
photoId string The id of the photo to update.
isPublic int 1 if the photo is public, 0 if it is not.
isFriend int 1 if the photo is viewable by friends, 0 if it is not.
isFamily int 1 if the photo is viewable by family, 0 if it is not.
permComment PermissionComment Who can add comments. See for more details.
permAddMeta PermissionAddMeta Who can add metadata (notes and tags). See for more details.
return void

PhotosSetTags() public method

Set the tags for a photo.
This will remove all old tags and add these new ones specified. See PhotosAddTags to just add new tags without deleting old ones.
public PhotosSetTags ( string photoId, string tags ) : bool
photoId string The id of the photo to update.
tags string An array of tags.
return bool

PhotosetsAddPhoto() public method

Add a photo to a photoset.
public PhotosetsAddPhoto ( string photosetId, string photoId ) : void
photosetId string The ID of the photoset to add the photo to.
photoId string The ID of the photo to add.
return void

PhotosetsCommentsAddComment() public method

Adds a new comment to a photoset.
public PhotosetsCommentsAddComment ( string photosetId, string commentText ) : string
photosetId string The ID of the photoset to add the comment to.
commentText string The text of the comment. Can contain some HTML.
return string

PhotosetsCommentsDeleteComment() public method

Deletes a comment from a photoset.
public PhotosetsCommentsDeleteComment ( string commentId ) : void
commentId string The ID of the comment to delete.
return void

PhotosetsCommentsEditComment() public method

Edits a comment.
public PhotosetsCommentsEditComment ( string commentId, string commentText ) : void
commentId string The ID of the comment to edit.
commentText string The new text for the comment.
return void

PhotosetsCommentsGetList() public method

Gets a list of comments for a photoset.
public PhotosetsCommentsGetList ( string photosetId ) : Comment[]
photosetId string The id of the photoset to return the comments for.
return Comment[]

PhotosetsCreate() public method

Creates a blank photoset, with a title and a primary photo (minimum requirements).
public PhotosetsCreate ( string title, string primaryPhotoId ) : Photoset
title string The title of the photoset.
primaryPhotoId string The ID of the photo which will be the primary photo for the photoset. This photo will also be added to the set.
return Photoset

PhotosetsCreate() public method

Creates a blank photoset, with a title, description and a primary photo.
public PhotosetsCreate ( string title, string description, string primaryPhotoId ) : Photoset
title string The title of the photoset.
description string THe description of the photoset.
primaryPhotoId string The ID of the photo which will be the primary photo for the photoset. This photo will also be added to the set.
return Photoset

PhotosetsDelete() public method

Deletes the specified photoset.
public PhotosetsDelete ( string photosetId ) : bool
photosetId string The ID of the photoset to delete.
return bool

PhotosetsEditMeta() public method

Updates the title and description for a photoset.
public PhotosetsEditMeta ( string photosetId, string title, string description ) : bool
photosetId string The ID of the photoset to update.
title string The new title for the photoset.
description string The new description for the photoset.
return bool

PhotosetsEditPhotos() public method

Sets the photos for a photoset.
Will remove any previous photos from the photoset. The order in thich the photoids are given is the order they will appear in the photoset page.
public PhotosetsEditPhotos ( string photosetId, string primaryPhotoId, string photoIds ) : bool
photosetId string The ID of the photoset to update.
primaryPhotoId string The ID of the new primary photo for the photoset.
photoIds string An array of photo IDs.
return bool

PhotosetsGetContext() public method

Gets the context of the specified photo within the photoset.
public PhotosetsGetContext ( string photoId, string photosetId ) : Context
photoId string The photo id of the photo in the set.
photosetId string The id of the set.
return Context

PhotosetsGetInfo() public method

Gets the information about a photoset.
public PhotosetsGetInfo ( string photosetId ) : Photoset
photosetId string The ID of the photoset to return information for.
return Photoset

PhotosetsGetList() public method

Gets a list of the currently authenticated users photosets.
public PhotosetsGetList ( ) : Photosets
return Photosets

PhotosetsGetList() public method

Gets a list of the specified users photosets.
public PhotosetsGetList ( string userId ) : Photosets
userId string The ID of the user to return the photosets of.
return Photosets

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId ) : Photo[]
photosetId string The ID of the photoset to return photos for.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras ) : Photo[]
photosetId string The ID of the photoset to return photos for.
extras PhotoSearchExtras The extras to return for each photo.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, PrivacyFilter privacyFilter ) : Photo[]
photosetId string The ID of the photoset to return photos for.
extras PhotoSearchExtras The extras to return for each photo.
privacyFilter PrivacyFilter The privacy filter to search on.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, PrivacyFilter privacyFilter, int page, int perPage ) : Photo[]
photosetId string The ID of the photoset to return photos for.
extras PhotoSearchExtras The extras to return for each photo.
privacyFilter PrivacyFilter The privacy filter to search on.
page int The page to return, defaults to 1.
perPage int The number of photos to return per page.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PhotoSearchExtras extras, int page, int perPage ) : Photo[]
photosetId string The ID of the photoset to return photos for.
extras PhotoSearchExtras The extras to return for each photo.
page int The page to return, defaults to 1.
perPage int The number of photos to return per page.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PrivacyFilter privacyFilter ) : Photo[]
photosetId string The ID of the photoset to return photos for.
privacyFilter PrivacyFilter The privacy filter to search on.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, PrivacyFilter privacyFilter, int page, int perPage ) : Photo[]
photosetId string The ID of the photoset to return photos for.
privacyFilter PrivacyFilter The privacy filter to search on.
page int The page to return, defaults to 1.
perPage int The number of photos to return per page.
return Photo[]

PhotosetsGetPhotos() public method

Gets a collection of photos for a photoset.
public PhotosetsGetPhotos ( string photosetId, int page, int perPage ) : Photo[]
photosetId string The ID of the photoset to return photos for.
page int The page to return, defaults to 1.
perPage int The number of photos to return per page.
return Photo[]

PhotosetsOrderSets() public method

Changes the order of your photosets.
public PhotosetsOrderSets ( string photosetIds ) : void
photosetIds string An array of photoset IDs, /// ordered with the set to show first, first in the list. /// Any set IDs not given in the list will be set to appear at the end of the list, ordered by their IDs.
return void

PhotosetsRemovePhoto() public method

Removes a photo from a photoset.
An exception will be raised if the photo is not in the set.
public PhotosetsRemovePhoto ( string photosetId, string photoId ) : void
photosetId string The ID of the photoset to remove the photo from.
photoId string The ID of the photo to remove.
return void

ReflectionGetMethodInfo() public method

Gets the method details for a given method.
public ReflectionGetMethodInfo ( string methodName ) : Method
methodName string The name of the method to retrieve.
return Method

ReflectionGetMethods() public method

Gets an array of supported method names for Flickr.
Note: Not all methods might be supported by the FlickrNet Library.
public ReflectionGetMethods ( ) : string[]
return string[]

ReplacePicture() public method

Replace an existing photo on Flickr.
public ReplacePicture ( Stream stream, string photoId ) : string
stream Stream The object containing the photo to be uploaded.
photoId string The ID of the photo to replace.
return string

ReplacePicture() public method

Replace an existing photo on Flickr.
public ReplacePicture ( string filename, string photoId ) : string
filename string The filename of the photo to upload.
photoId string The ID of the photo to replace.
return string

TagsGetListPhoto() public method

Get the tag list for a given photo.
public TagsGetListPhoto ( string photoId ) : PhotoInfo
photoId string The id of the photo to return tags for.
return PhotoInfo

TagsGetListUser() public method

Get the tag list for a given user (or the currently logged in user).
public TagsGetListUser ( ) : Tag[]
return Tag[]

TagsGetListUser() public method

Get the tag list for a given user (or the currently logged in user).
public TagsGetListUser ( string userId ) : Tag[]
userId string The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed.
return Tag[]

TagsGetListUserPopular() public method

Get the popular tags for a given user (or the currently logged in user).
public TagsGetListUserPopular ( ) : Tag[]
return Tag[]

TagsGetListUserPopular() public method

Get the popular tags for a given user (or the currently logged in user).
public TagsGetListUserPopular ( int count ) : Tag[]
count int Number of popular tags to return. defaults to 10 when this argument is not present.
return Tag[]

TagsGetListUserPopular() public method

Get the popular tags for a given user (or the currently logged in user).
public TagsGetListUserPopular ( string userId ) : Tag[]
userId string The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed.
return Tag[]

TagsGetListUserPopular() public method

Get the popular tags for a given user (or the currently logged in user).
public TagsGetListUserPopular ( string userId, long count ) : Tag[]
userId string The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed.
count long Number of popular tags to return. defaults to 10 when this argument is not present.
return Tag[]

TagsGetRelated() public method

Returns a list of tags 'related' to the given tag, based on clustered usage analysis.
public TagsGetRelated ( string tag ) : Tag[]
tag string The tag to fetch related tags for.
return Tag[]

TestEcho() public method

Runs the flickr.test.echo method and returned an array of XmlElement items.
The APi Key has been removed from the returned array and will not be shown.
public TestEcho ( string echoParameter, string echoValue ) : XmlElement[]
echoParameter string The parameter to pass to the method.
echoValue string The value to pass to the method with the parameter.
return XmlElement[]

TestGeneric() public method

Can be used to call unsupported methods in the Flickr API.
Use of this method is not supported. The way the FlickrNet API Library works may mean that some methods do not return an expected result when using this method.
public TestGeneric ( string method, NameValueCollection parameters ) : XmlElement[]
method string The method name, e.g. "flickr.test.null".
parameters NameValueCollection A list of parameters. Note, api_key is added by default and is not included. Can be null.
return XmlElement[]

TestLogin() public method

Test the logged in state of the current Filckr object.
public TestLogin ( ) : FoundUser
return FoundUser

TransformRotate() public method

Rotates a photo on Flickr.
Does not rotate the original photo.
public TransformRotate ( string photoId, int degrees ) : void
photoId string The ID of the photo.
degrees int The number of degrees to rotate by. Valid values are 90, 180 and 270.
return void

UploadPicture() public method

UploadPicture method that does all the uploading work.
public UploadPicture ( Stream stream, string title, string description, string tags, int isPublic, int isFamily, int isFriend ) : string
stream Stream The object containing the pphoto to be uploaded.
title string The title of the photo (optional).
description string The description of the photograph (optional).
tags string The tags for the photograph (optional).
isPublic int 0 for private, 1 for public.
isFamily int 1 if family, 0 is not.
isFriend int 1 if friend, 0 if not.
return string

UploadPicture() public method

Uploads a file to Flickr.
Other exceptions may be thrown, see FileStream constructors for more details.
Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
public UploadPicture ( string filename ) : string
filename string The filename of the file to open.
return string

UploadPicture() public method

Uploads a file to Flickr.
Other exceptions may be thrown, see FileStream constructors for more details.
Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
public UploadPicture ( string filename, string title ) : string
filename string The filename of the file to open.
title string The title of the photograph.
return string

UploadPicture() public method

Uploads a file to Flickr.
Other exceptions may be thrown, see FileStream constructors for more details.
Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
public UploadPicture ( string filename, string title, string description ) : string
filename string The filename of the file to open.
title string The title of the photograph.
description string The description of the photograph.
return string

UploadPicture() public method

Uploads a file to Flickr.
Other exceptions may be thrown, see FileStream constructors for more details.
Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
public UploadPicture ( string filename, string title, string description, string tags ) : string
filename string The filename of the file to open.
title string The title of the photograph.
description string The description of the photograph.
tags string A comma seperated list of the tags to assign to the photograph.
return string

UploadPicture() public method

Uploads a file to Flickr.
Other exceptions may be thrown, see FileStream constructors for more details.
Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
public UploadPicture ( string filename, string title, string description, string tags, bool isPublic, bool isFamily, bool isFriend ) : string
filename string The filename of the file to open.
title string The title of the photograph.
description string The description of the photograph.
tags string A comma seperated list of the tags to assign to the photograph.
isPublic bool True if the photograph should be public and false if it should be private.
isFamily bool True if the photograph should be marked as viewable by family contacts.
isFriend bool True if the photograph should be marked as viewable by friends contacts.
return string

UrlsGetGroup() public method

Returns the url to a group's page.
public UrlsGetGroup ( string groupId ) : Uri
groupId string The NSID of the group to fetch the url for.
return Uri

UrlsGetUserPhotos() public method

Returns the url to a user's photos.
public UrlsGetUserPhotos ( ) : Uri
return Uri

UrlsGetUserPhotos() public method

Returns the url to a user's photos.
public UrlsGetUserPhotos ( string userId ) : Uri
userId string The NSID of the user to fetch the url for. If omitted, the calling user is assumed.
return Uri

UrlsGetUserProfile() public method

Returns the url to a user's profile.
public UrlsGetUserProfile ( ) : Uri
return Uri

UrlsGetUserProfile() public method

Returns the url to a user's profile.
public UrlsGetUserProfile ( string userId ) : Uri
userId string The NSID of the user to fetch the url for. If omitted, the calling user is assumed.
return Uri

UrlsLookupGroup() public method

Returns a group NSID, given the url to a group's page or photo pool.
public UrlsLookupGroup ( string urlToFind ) : string
urlToFind string The url to the group's page or photo pool.
return string

UrlsLookupUser() public method

Returns a user NSID, given the url to a user's photos or profile.
public UrlsLookupUser ( string urlToFind ) : FoundUser
urlToFind string Thr url to the user's profile or photos page.
return FoundUser