This week, I refactored that code and made it accessible through an API.
I'd like to hear your thoughts.