0

I'd like to know how to get the 'notes' field from the Google people API. There's no equivalent in documentation. I tried "biographies" but that didn't return any notes when I called the API for names, emails, etc.

I've seen this question asked a few years ago but I know the API has changed a bit and was hoping someone knows the answer.

Thanks!

tom
  • 977
  • 3
  • 14
  • 30

1 Answers1

1

Answer

The biographies field still representing the notes

How to check it?

  1. Create a contact setting the notes with a concrete string, i.e. Hey, I'am a note

  2. Call people.connections.list

    • resourceName = people/me
    • personFields = names
  3. Get the resourceName to use it later

  4. Call people.get

    • resourceName = resource from point 3
    • personFields = biographies
  5. Check the biographies field, it will look something like:

  "biographies": [
    {
      "metadata": {
        "primary": true,
        "source": {
          "type": "CONTACT",
          "id": "randomId"
        }
      },
      "value": "Hey, I'am a note",
      "contentType": "TEXT_PLAIN"
    }

References

fullfine
  • 1,371
  • 1
  • 4
  • 11