What is the search API?

68 views
Skip to first unread message

Sam

unread,
Nov 7, 2011, 11:04:42 AM11/7/11
to Friends of the Unofficial Google Reader API
Looking around the web I've found references to the search API:

http://www.google.com/reader/api/0/search/items?q=Android

But i'm consistently getting a 404 when I try this, is this still
supported or is there another way to search through a users feed?

thanks,
Sam

Mihai Parparita

unread,
Nov 7, 2011, 11:08:15 AM11/7/11
to foug...@googlegroups.com
You're looking for http://www.google.com/reader/api/0/search/items/ids?q=Android (note the trailing /ids).

Once you have item IDs, you can look them up with /reader/api/0/stream/items/contents: http://code.google.com/p/google-reader-api/wiki/ApiStreamItemsContents

Mihai

Dan Stark

unread,
Nov 7, 2011, 11:10:33 AM11/7/11
to foug...@googlegroups.com
This search API needs users to login, right?

Mihai Parparita

unread,
Nov 7, 2011, 11:11:07 AM11/7/11
to foug...@googlegroups.com
Yes.

Mihai

Dan Stark

unread,
Nov 7, 2011, 11:12:49 AM11/7/11
to foug...@googlegroups.com
Thanks

I think there is another search API for feeds, right?

Does that need users to login?

Mihai Parparita

unread,
Nov 7, 2011, 11:15:25 AM11/7/11
to foug...@googlegroups.com
Yes, that's http://www.google.com/reader/api/0/feed-finder?q=cnn&output=json and it doesn't need authentication.

Mihai

Sam

unread,
Nov 7, 2011, 11:59:04 AM11/7/11
to Friends of the Unofficial Google Reader API
Perfect thank you, works great now!

On Nov 7, 8:08 am, Mihai Parparita <mih...@google.com> wrote:
> You're looking forhttp://www.google.com/reader/api/0/search/items/ids?q=Android(note the
> trailing /ids).
>
> Once you have item IDs, you can look them up
> with /reader/api/0/stream/items/contents:http://code.google.com/p/google-reader-api/wiki/ApiStreamItemsContents
>
> Mihai
>
>
>
> On Mon, Nov 7, 2011 at 8:04 AM, Sam <sjara...@gmail.com> wrote:
> > Looking around the web I've found references to the search API:
>
> >http://www.google.com/reader/api/0/search/items?q=Android
>
> > But i'm consistently getting a 404 when I try this, is this still
> > supported or is there another way to search through a users feed?
>
> > thanks,
> > Sam- Hide quoted text -
>
> - Show quoted text -

Mihai Parparita

unread,
Feb 10, 2012, 2:34:05 PM2/10/12
to Gaurav, Friends of the Unofficial Google Reader API
You can pass in a s= query parameter with a stream ID to restrict the search to. For example, to search only starred items:


To search only the Google Blog: 


Mihai

On Fri, Feb 10, 2012 at 1:43 AM, Gaurav <gaura...@gmail.com> wrote:
Hello Mihai,

How can we search inside a particular feed/tag or starred items?

Thanks,
Gaurav

On Nov 7 2011, 9:08 pm, Mihai Parparita <mih...@google.com> wrote:
> You're looking forhttp://www.google.com/reader/api/0/search/items/ids?q=Android(note the

Gaurav

unread,
Feb 14, 2012, 1:30:55 AM2/14/12
to Friends of the Unofficial Google Reader API
Great, Thank you for quick response!!!

On Feb 11, 12:34 am, Mihai Parparita <mih...@google.com> wrote:
> You can pass in a s= query parameter with a stream ID to restrict the
> search to. For example, to search only starred items:
>
> http://www.google.com/reader/api/0/search/items/ids?q=Android&s=user/...
>
> To search only the Google Blog:
>
> http://www.google.com/reader/api/0/search/items/ids?q=Android&s=feed/...
Reply all
Reply to author
Forward
0 new messages