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

Person FlickrNet::Flickr::PeopleGetInfo ( string  userId  )  [inline]

Gets the Person object for the given user id.

Parameters:
userId The user id to find.
Returns:
The Person object containing the users details.

Definition at line 1548 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.people.getInfo");
                  parameters.Add("api_key", _apiKey);
                  parameters.Add("user_id", userId);

                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index