Contact Query - The Q Parameter

989 views
Skip to first unread message

Brave Dave

unread,
Oct 15, 2012, 11:04:37 PM10/15/12
to google-co...@googlegroups.com
With the Contact API you can query contacts

If you leave everything default, it returns 25 results

If you say => max-results=999999, you get heaps more

All as expected

But when you use the Q parameter is has no effect - it's just ignored

My URL winds up looking like:
https://www.google.com/m8/feeds/contacts/default/full?q=dave&max-results=999999

in this search I'm looking for dave

am I forming this correctly ? (using Zend_Gdata_Query)

Thanks in advance

Brave Dave

unread,
Oct 19, 2012, 2:55:58 AM10/19/12
to google-co...@googlegroups.com
Thanks to Warren in another post for this answer
  • v=3.0 is needed
    • Once v=3.0 is added the q parameter works

Warren Vail

unread,
Oct 19, 2012, 5:17:32 PM10/19/12
to google-co...@googlegroups.com
I can confirm that the default "max-results" seems to be 25, don't forget v=3.0.
 
Warren Vail
Reply all
Reply to author
Forward
0 new messages