Unread count with titles?

124 views
Skip to first unread message

itgiawa

unread,
Jun 23, 2011, 5:46:46 PM6/23/11
to Friends of the Unofficial Google Reader API
Its annoying to have to get the subscription list here:
http://www.google.com/reader/api/0/subscription/list
then have to get the unread count here: http://www.google.com/reader/api/0/unread-count?all=true
then have to piece the two together....

Is there a url I can call that gives me titles and unread count all in
the same xml?

Thanks!

EliteMikeS

unread,
Jun 24, 2011, 12:44:29 PM6/24/11
to Friends of the Unofficial Google Reader API
I agree,

I'm new to the "API" and there are alot of things that can be done
with a real API that would save a lot of work and calls to google. All
I want is a total count returned for unread. Send me back json with
that value and nothing else. I also want the count of starred items,
currently there is no way to get that without grabbing the feed
completely and then counting the items. At least I never came across
another way.

Google, PLEASE make an official API.

Mihai Parparita

unread,
Jun 24, 2011, 2:09:12 PM6/24/11
to foug...@googlegroups.com
On Fri, Jun 24, 2011 at 9:44 AM, EliteMikeS <m.j.sta...@gmail.com> wrote:
> I also want the count of starred items,
> currently there is no way to get that without grabbing the feed
> completely and then counting the items.

You can get counts with:
http://www.google.com/reader/api/0/stream/items/count?s=user/-/state/com.google/starred

If you want a bit more data, you can get starred item IDs and
timestamps with
http://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/com.google/starred&n=10000.
That should return much faster than actually getting feed contents.

Mihai

EliteMikeS

unread,
Jun 25, 2011, 1:20:50 PM6/25/11
to Friends of the Unofficial Google Reader API
interesting... Thanks

I guess a really nice set of documentation is high on my wish list.

On Jun 24, 2:09 pm, Mihai Parparita <mih...@google.com> wrote:
> On Fri, Jun 24, 2011 at 9:44 AM, EliteMikeS <m.j.stankov...@gmail.com> wrote:
> > I also want the count of starred items,
> > currently there is no way to get that without grabbing the feed
> > completely and then counting the items.
>
> You can get counts with:http://www.google.com/reader/api/0/stream/items/count?s=user/-/state/...
>
> If you want a bit more data, you can get starred item IDs and
> timestamps withhttp://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/co....

EliteMikeS

unread,
Jun 25, 2011, 1:25:27 PM6/25/11
to Friends of the Unofficial Google Reader API
I do wish there was a call that just returned all counts in a single
json object to eliminate requests.

On Jun 24, 2:09 pm, Mihai Parparita <mih...@google.com> wrote:
> On Fri, Jun 24, 2011 at 9:44 AM, EliteMikeS <m.j.stankov...@gmail.com> wrote:
> > I also want the count of starred items,
> > currently there is no way to get that without grabbing the feed
> > completely and then counting the items.
>
> You can get counts with:http://www.google.com/reader/api/0/stream/items/count?s=user/-/state/...
>
> If you want a bit more data, you can get starred item IDs and
> timestamps withhttp://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/co....

Chocky

unread,
Jun 4, 2012, 11:24:40 AM6/4/12
to foug...@googlegroups.com
Does `all=true` have any effect? I tried including and omitting but couldn't see a difference.

Mihai Parparita

unread,
Jun 4, 2012, 1:22:49 PM6/4/12
to foug...@googlegroups.com
On Mon, Jun 4, 2012 at 8:24 AM, Chocky <choc...@gmail.com> wrote:
Does `all=true` have any effect? I tried including and omitting but couldn't see a difference.

No, it does not have any effect.

Mihai

Tony Zeng

unread,
Aug 7, 2012, 6:08:11 PM8/7/12
to foug...@googlegroups.com
Hi 

Can I know please where did you find the api info like "http://www.google.com/reader/api/0/unread-count?all=true"?

I never knew it.

I thought all available APIs are listed here


But apparently, it is not the case.

Thanks
Reply all
Reply to author
Forward
0 new messages