Python script for importing Kindle highlights into Joplin

Hi @JackGruber, thanks for your comment and for taking the time to test it. I have Joplin 1.4.19 and developed this tool based on that version. I also realized that the Python package joplin-api does not support some features of the new Joplin API, for example retrieving all the notes from Joplin. But this tool does not rely on those features.
Were you able to retrieve the highlights from your Kindle device? Were the highlights imported every time and replicated? If that happened, could you indicate me how to replicate it?
Thanks