Best way to handle a library with kodi and an external program simultaneously

Hello,

I would like to know what is the best way to manage a kodi library for use in an external program by taking the information that is taken from kodi (imdb, audio formats, video formats) etc … so that they can be automatically edited Fields with the external program as labels and other information.
Thanks in advance.