C# Class FlickrNet.Flickr

Afficher le fichier Open project: mono/flickr-sharp Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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[]
Résultat FlickrNet.ActivityItem[]

ActivityUserPhotos() public méthode

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[]
Résultat FlickrNet.ActivityItem[]

ActivityUserPhotos() public méthode

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.
Résultat FlickrNet.ActivityItem[]

AuthCalcUrl() public méthode

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.
Résultat string

AuthCalcWebUrl() public méthode

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.
Résultat string

AuthCheckToken() public méthode

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.
Résultat Auth

AuthGetFrob() public méthode

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
Résultat string

AuthGetFullToken() public méthode

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.
Résultat Auth

AuthGetToken() public méthode

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.
Résultat Auth

BlogGetList() public méthode

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

BlogPostPhoto() public méthode

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.
Résultat bool

BlogPostPhoto() public méthode

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.
Résultat bool

ContactsGetList() public méthode

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

ContactsGetPublicList() public méthode

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.
Résultat FlickrNet.Contacts

DownloadPicture() public méthode

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.
Résultat System.IO.Stream

FavoritesAdd() public méthode

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

FavoritesGetList() public méthode

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

FavoritesGetList() public méthode

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.
Résultat Photos

FavoritesGetList() public méthode

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.
Résultat Photos

FavoritesGetList() public méthode

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.
Résultat Photos

FavoritesGetPublicList() public méthode

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.
Résultat Photos

FavoritesGetPublicList() public méthode

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.
Résultat Photos

FavoritesRemove() public méthode

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.
Résultat bool

Flickr() public méthode

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

Flickr() public méthode

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

Flickr() public méthode

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.
Résultat System

Flickr() public méthode

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.
Résultat System

FlushCache() public static méthode

Clears the cache completely.
public static FlushCache ( ) : void
Résultat void

FlushCache() public static méthode

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.
Résultat void

GetCachePictures() public static méthode

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

GroupPoolAdd() public méthode

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.
Résultat bool

GroupPoolGetContext() public méthode

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.
Résultat Context

GroupPoolGetGroups() public méthode

Gets a list of
public GroupPoolGetGroups ( ) : MemberGroupInfo[]
Résultat MemberGroupInfo[]

GroupPoolGetPhotos() public méthode

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

GroupPoolGetPhotos() public méthode

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.
Résultat Photos

GroupPoolGetPhotos() public méthode

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.
Résultat Photos

GroupPoolGetPhotos() public méthode

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.
Résultat Photos

GroupPoolGetPhotos() public méthode

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.
Résultat Photos

GroupPoolRemove() public méthode

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.
Résultat bool

GroupsBrowse() public méthode

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
Résultat Category

GroupsBrowse() public méthode

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

GroupsGetInfo() public méthode

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

GroupsSearch() public méthode

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

GroupsSearch() public méthode

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.
Résultat GroupSearchResults

GroupsSearch() public méthode

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.
Résultat GroupSearchResults

InterestingnessGetList() public méthode

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

InterestingnessGetList() public méthode

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.
Résultat Photos

InterestingnessGetList() public méthode

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.
Résultat Photos

InterestingnessGetList() public méthode

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.
Résultat Photos

IsUrlCached() public static méthode

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

NotesAdd() public méthode

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.
Résultat string

NotesDelete() public méthode

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

NotesEdit() public méthode

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.
Résultat void

PeopleFindByEmail() public méthode

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.
Résultat FoundUser

PeopleFindByUsername() public méthode

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.
Résultat FoundUser

PeopleGetInfo() public méthode

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

PeopleGetPublicGroups() public méthode

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

PeopleGetPublicPhotos() public méthode

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

PeopleGetUploadStatus() public méthode

Gets the upload status of the authenticated user.
public PeopleGetUploadStatus ( ) : UserStatus
Résultat UserStatus

PhotosAddTags() public méthode

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.
Résultat void

PhotosCommentsAddComment() public méthode

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.
Résultat string

PhotosCommentsDeleteComment() public méthode

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

PhotosCommentsEditComment() public méthode

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.
Résultat void

PhotosCommentsGetList() public méthode

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.
Résultat Comment[]

PhotosDelete() public méthode

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.
Résultat void

PhotosGeoGetLocation() public méthode

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.
Résultat PhotoLocation

PhotosGeoGetPerms() public méthode

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

PhotosGeoRemoveLocation() public méthode

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

PhotosGeoSetLocation() public méthode

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.
Résultat void

PhotosGeoSetLocation() public méthode

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.
Résultat void

PhotosGeoSetPerms() public méthode

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
Résultat void

PhotosGetAllContexts() public méthode

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.
Résultat AllContexts

PhotosGetContactsPhotos() public méthode

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

PhotosGetContactsPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContactsPublicPhotos() public méthode

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.
Résultat Photos

PhotosGetContext() public méthode

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.
Résultat Context

PhotosGetCounts() public méthode

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.
Résultat PhotoCounts

PhotosGetCounts() public méthode

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.
Résultat PhotoCounts

PhotosGetCounts() public méthode

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.
Résultat PhotoCounts

PhotosGetCounts() public méthode

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.
Résultat PhotoCounts

PhotosGetExif() public méthode

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.
Résultat ExifPhoto

PhotosGetExif() public méthode

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.
Résultat ExifPhoto

PhotosGetInfo() public méthode

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.
Résultat PhotoInfo

PhotosGetInfo() public méthode

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.
Résultat PhotoInfo

PhotosGetNotInSet() public méthode

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

PhotosGetNotInSet() public méthode

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.
Résultat Photos

PhotosGetNotInSet() public méthode

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.
Résultat Photos

PhotosGetNotInSet() public méthode

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.
Résultat Photos

PhotosGetNotInSet() public méthode

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.
Résultat Photos

PhotosGetPerms() public méthode

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

PhotosGetRecent() public méthode

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

PhotosGetRecent() public méthode

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.
Résultat Photos

PhotosGetRecent() public méthode

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.
Résultat Photos

PhotosGetRecent() public méthode

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.
Résultat Photos

PhotosGetSizes() public méthode

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.
Résultat Sizes

PhotosGetUntagged() public méthode

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

PhotosGetUntagged() public méthode

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.
Résultat Photos

PhotosGetUntagged() public méthode

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.
Résultat Photos

PhotosGetUntagged() public méthode

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.
Résultat Photos

PhotosGetWithGeoData() public méthode

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
Résultat Photos

PhotosGetWithGeoData() public méthode

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.
Résultat Photos

PhotosGetWithoutGeoData() public méthode

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

PhotosGetWithoutGeoData() public méthode

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.
Résultat Photos

PhotosLicensesGetInfo() public méthode

Gets a list of all current licenses.
public PhotosLicensesGetInfo ( ) : Licenses
Résultat Licenses

PhotosRecentlyUpdated() public méthode

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.
Résultat Photos

PhotosRecentlyUpdated() public méthode

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.
Résultat Photos

PhotosRecentlyUpdated() public méthode

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.
Résultat Photos

PhotosRecentlyUpdated() public méthode

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.
Résultat Photos

PhotosRemoveTag() public méthode

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

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearch() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSearchText() public méthode

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.
Résultat Photos

PhotosSetDates() public méthode

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.
Résultat bool

PhotosSetDates() public méthode

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.
Résultat bool

PhotosSetDates() public méthode

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.
Résultat bool

PhotosSetMeta() public méthode

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.
Résultat bool

PhotosSetPerms() public méthode

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.
Résultat void

PhotosSetPerms() public méthode

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.
Résultat void

PhotosSetTags() public méthode

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.
Résultat bool

PhotosetsAddPhoto() public méthode

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.
Résultat void

PhotosetsCommentsAddComment() public méthode

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.
Résultat string

PhotosetsCommentsDeleteComment() public méthode

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

PhotosetsCommentsEditComment() public méthode

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.
Résultat void

PhotosetsCommentsGetList() public méthode

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.
Résultat Comment[]

PhotosetsCreate() public méthode

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.
Résultat Photoset

PhotosetsCreate() public méthode

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.
Résultat Photoset

PhotosetsDelete() public méthode

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

PhotosetsEditMeta() public méthode

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.
Résultat bool

PhotosetsEditPhotos() public méthode

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.
Résultat bool

PhotosetsGetContext() public méthode

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.
Résultat Context

PhotosetsGetInfo() public méthode

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

PhotosetsGetList() public méthode

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

PhotosetsGetList() public méthode

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.
Résultat Photosets

PhotosetsGetPhotos() public méthode

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

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsGetPhotos() public méthode

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.
Résultat Photo[]

PhotosetsOrderSets() public méthode

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.
Résultat void

PhotosetsRemovePhoto() public méthode

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.
Résultat void

ReflectionGetMethodInfo() public méthode

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

ReflectionGetMethods() public méthode

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

ReplacePicture() public méthode

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.
Résultat string

ReplacePicture() public méthode

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.
Résultat string

TagsGetListPhoto() public méthode

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

TagsGetListUser() public méthode

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

TagsGetListUser() public méthode

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.
Résultat Tag[]

TagsGetListUserPopular() public méthode

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

TagsGetListUserPopular() public méthode

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.
Résultat Tag[]

TagsGetListUserPopular() public méthode

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.
Résultat Tag[]

TagsGetListUserPopular() public méthode

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.
Résultat Tag[]

TagsGetRelated() public méthode

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.
Résultat Tag[]

TestEcho() public méthode

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.
Résultat XmlElement[]

TestGeneric() public méthode

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.
Résultat XmlElement[]

TestLogin() public méthode

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

TransformRotate() public méthode

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.
Résultat void

UploadPicture() public méthode

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.
Résultat string

UploadPicture() public méthode

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.
Résultat string

UploadPicture() public méthode

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.
Résultat string

UploadPicture() public méthode

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.
Résultat string

UploadPicture() public méthode

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.
Résultat string

UploadPicture() public méthode

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.
Résultat string

UrlsGetGroup() public méthode

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.
Résultat Uri

UrlsGetUserPhotos() public méthode

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

UrlsGetUserPhotos() public méthode

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.
Résultat Uri

UrlsGetUserProfile() public méthode

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

UrlsGetUserProfile() public méthode

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.
Résultat Uri

UrlsLookupGroup() public méthode

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.
Résultat string

UrlsLookupUser() public méthode

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.
Résultat FoundUser