Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

Contacts FlickrNet::Flickr::ContactsGetList (  )  [inline]

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

Returns:
An instance of the Contacts class containing the list of contacts.

Definition at line 975 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.contacts.getList");
                  parameters.Add("api_key", _apiKey);
                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.Contacts;
                  }
                  else
                  {
                        throw new FlickrException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index