Investigate contact searchprovider api
Contacts provides the dbus interface for the gnome shell integration. https://developer.gnome.org/SearchProvider/
https://source.puri.sm/Librem5/gnome-contacts/blob/librem5/src/contacts-shell-search-provider.vala
Since Contacts relays only the data obtained via libfolk I think it would make more sense to interact directly with libfolk. #16 (closed)