Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

yws-flickr · YDN Flickr Developer Support Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3528
  • Category: Development
  • Founded: Jul 5, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
How do you search within sets using the API?   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages Sort by Date  
#7837 From: "Jamie Kitson" <jamie@...>
Date: Fri Oct 12, 2012 9:09 pm
Subject: How do you search within sets using the API?
jamieakitson
Send Email Send Email
 
Hi,

I would really like to search within sets using the Flickr API, but the only way
I can think to do it would be to do a photosets.getPhotos and a photos.search
and compare the results. This doesn't really seem practical to me as
photos.search could return a lot of results.

The omission of a set_id parameter from photos.search seems especially glaring
when you consider that it has group_id and in_gallery parameters.

If anyone has a work around that they know of I'd be very grateful to hear it.

Cheers, Jamie

#7853 From: Tristan Savatier <tristan@...>
Date: Fri Oct 12, 2012 9:12 pm
Subject: Re: How do you search within sets using the API?
immediate_bo...
Send Email Send Email
 
there is no way to search in sets, AFAIK.

you could also add a particular tag (e.g. a machine tag like
jamie:set=<set-id> ) to all ime images in a set, and then add this tag
to your search to search in the set.  that's a lot of API calls, too
:(

-t

On Fri, Oct 12, 2012 at 2:09 PM, Jamie Kitson <jamie@...> wrote:
> Hi,
>
> I would really like to search within sets using the Flickr API, but the only
way I can think to do it would be to do a photosets.getPhotos and a
photos.search and compare the results. This doesn't really seem practical to me
as photos.search could return a lot of results.
>
> The omission of a set_id parameter from photos.search seems especially glaring
when you consider that it has group_id and in_gallery parameters.
>
> If anyone has a work around that they know of I'd be very grateful to hear it.
>
> Cheers, Jamie
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

#7854 From: Sam Judson <sam@...>
Date: Fri Oct 12, 2012 9:30 pm
Subject: Re: How do you search within sets using the API?
wackylabs
Send Email Send Email
 
There is no way, apart from to return all photos in the photoset and do the search yourself. But usually this isn't that hard, as there aren't usually that many photos in a photoset (or at least not enough to make this that hard).

Sam

On 12 October 2012 22:09, Jamie Kitson <jamie@...> wrote:
 

Hi,

I would really like to search within sets using the Flickr API, but the only way I can think to do it would be to do a photosets.getPhotos and a photos.search and compare the results. This doesn't really seem practical to me as photos.search could return a lot of results.

The omission of a set_id parameter from photos.search seems especially glaring when you consider that it has group_id and in_gallery parameters.

If anyone has a work around that they know of I'd be very grateful to hear it.

Cheers, Jamie



#7855 From: Geoffrey Spear <geoffspear@...>
Date: Sat Oct 13, 2012 5:27 pm
Subject: Re: How do you search within sets using the API?
geoffspear
Send Email Send Email
 

How big is the set you're searching? Would it be practical to just fetch the metadata for everything in the set and search through it in your application code?
On Oct 12, 2012 5:09 PM, "Jamie Kitson" <jamie@...> wrote:
>
> Hi,
>
> I would really like to search within sets using the Flickr API, but the only way I can think to do it would be to do a photosets.getPhotos and a photos.search and compare the results. This doesn't really seem practical to me as photos.search could return a lot of results.
>
> The omission of a set_id parameter from photos.search seems especially glaring when you consider that it has group_id and in_gallery parameters.
>
> If anyone has a work around that they know of I'd be very grateful to hear it.
>
> Cheers, Jamie


 
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help