Skip to content

Include birthday field in contacts search and list output #441

@aaroneden

Description

@aaroneden

Summary

gog contacts get returns full contact data including birthdays, but gog contacts search and gog contacts list strip it out and only return name/email/phone.

Current behavior

gog contacts search "Jeffrey Lang" --json
# Returns: resource, name, email, phone (no birthday)

gog contacts get "people/c..." --json
# Returns: full record including birthdays[].date.{month, day, year}

Requested behavior

Include birthday in the slim contact object returned by search and list:

{
  "resource": "people/c...",
  "name": "Jeffrey Lang",
  "email": "jlang@jlang.us",
  "phone": "(978) 764-7948",
  "birthday": "2001-03-12"
}

Why

Building a birthday reminder workflow that needs to query upcoming birthdays across contacts. Currently have to fall back to Apple Contacts JXA for bulk birthday queries because gog doesn't surface the field in list/search. The data is already fetched from the People API, just not included in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions