More or less verbatim how I'm currently doing it over at bibelstudiet.no in my script controller class, and so far it's been working great. Just remember to cache the result on your server so that you're not calling the API more than necessary. In my case it's handled further up the chain by the parent class 🙂
output_info set to
errors instead of
See their API documentation for more information about the parameters.