Skip to content

Get ALL connections & contact groups #8

Open
quinn-p-mchugh wants to merge 3 commits intosVathis:masterfrom
quinn-p-mchugh:dev/get-all-connections
Open

Get ALL connections & contact groups #8
quinn-p-mchugh wants to merge 3 commits intosVathis:masterfrom
quinn-p-mchugh:dev/get-all-connections

Conversation

@quinn-p-mchugh
Copy link

This pull request fixes an issue where a limited number of connections and contact groups would be retrieved from the Google Contacts API. In my case, this would cause a KeyError when the program would try to get the name of a non-existent contact group (based on its ID) for a particular connection.

Using pagination handling, the code now continually calls the Google Contacts API until ALL connections and all contact groups on the user's account are retrieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments