I have a feature request concerning the API for keyword.
At this moment there is no function to get (an array of ) keyword object(s) based on the keyword name.
Feature request: please add a function to retrieve all keyword objects based on the specified keyword name.
The function would be something like those for retrieving photo objects: catalog:findPhotos and catalog:findPhotoByPath
The only solution is to build first a complete keyword table / mapping before one can retrieve keywords objects based on the name.
There's no evidence that anyone from Adobe has paid much attention to this SDK forum in the last few years. I suggest that you re-post your request in the feedback forum, where Adobe wants all feedback on Lightroom posted:
The normal process for creating accounts there has been broken for many weeks. If it's still broken, you can use this workaround: