I was wondering how is there a way to query the user's contacts based on a first name or last name. I've been looking at the google contacts api and messing with the
https://developers.google.com/oauthplayground/?
I know that you can search looking for key words with the q parameter:
https://www.google.com/m8/feeds/contacts/default?v=3&alt=json&q=Test
This call will use the version 3 contact api, return json, and do a search text on "Test".
However, what isn't clear to me is
1) What is the search text on? Is it on all the fields relating to a contact?
2) Can you apply the search to a specific field ?
3) Can it support wild card searches (Ex. a*)
Also what is the difference between the Google Contact API and the Google People API. It states that you should use the Google People API, but the api doesn't allow you to do searches. It just returns you all the connections and then info for each connection you specify.
The underlying implementation also seems different. It seems that google contact api is written as a google data api and the other is written as a google api that is discoverable https://people.googleapis.com/$discovery/rest?version=v1.
Goal: I want to be able to search a user's contact's and filter the user name by keywords or in this case a wild card. I want it to return the email, full name.
Any advice appreciated, Thanks, Derek