Fetch Gmail, Yahoo, Hotmail contacts with pagination using OmniContacts

223 Views Asked by At

I'm using OmniContacts to integrate with Gmail, Yahoo, Hotmail APIs. But It's fetching all contacts of account. Some users have more than 1000 contacts.

So, I need to add pagination to send request to the API. In Gmail the gem has limit as this importer :gmail, "xxx", "yyy", :max_results => 1000. But I need to add pagination not limit.

How can I send request with pagination for Gmail API, and (Yahoo, Hotmail) APIs?

0

There are 0 best solutions below