Skip to content

Not grabbing all the gmail addresses #19

ppetrick opened this Issue Aug 4, 2010 · 3 comments

3 participants

ppetrick commented Aug 4, 2010

Tested against my own gmail account, which has 536 contacts. Only 165 were actually returned. I looked to see if there was a paging mechanism or built-in limitation in the code and couldn't find one, so please forgive me if I missed it.

oren commented Aug 23, 2010

I got similar results - not all contacts were retrieved.
I am looking into gdata gem now. maybe it's not using the recent google API?

oren commented Aug 24, 2010

I removed the if expression from this line and now I see all my contacts:
email = e.attribute('address').value if e.attribute('primary')


FWIW: I was having a similar issue and found a default limit of 200, but we forked a while back and are using 0.2.6 (see Contacts::Google.)

Checking the latest as of right now, it seems that the number of contacts is determined by the 'max-results' param.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.