Google API v3 retrieving all contacts

前端 未结 2 485
夕颜
夕颜 2021-01-07 09:32

I\'m writing a code (in Java) that let me get all contacts from my google account, using google API v3. My problem is that after I successfully authorize access to account I

相关标签:
2条回答
  • 2021-01-07 09:53

    In the documentation https://developers.google.com/google-apps/contacts/v3/#retrieving_all_contacts there is a note saying "The feed may not contain all of the user's contacts, because there's a default limit on the number of results returned" You can use query parameter to manage the information https://developers.google.com/google-apps/contacts/v3/#retrieving_contacts_using_query_parameters. Here you can find the parameters for these requests https://developers.google.com/google-apps/contacts/v3/reference#Parameters. The parameter max-results is probably the one you need.

    0 讨论(0)
  • 2021-01-07 10:05

    The correct parameter is max-results

    0 讨论(0)
提交回复
热议问题