public Uri UrlsGetGroup(string groupId)
{
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.urls.getGroup");
parameters.Add("api_key", _apiKey);
parameters.Add("group_id", groupId);
FlickrNet.Response response = GetResponseCache(parameters);
if( response.Status == ResponseStatus.OK )
{
if( response.AllElements[0] != null && response.AllElements[0].Attributes["url"] != null )
return new Uri(response.AllElements[0].Attributes["url"].Value);
else
return null;
}
else
{
throw new FlickrException(response.Error);
}
}