Calling APIs

What would be the easiest way to incorporate a API into a Glide app. For example, I want the user to upload a picture, then it would pass it through a OCR API, and it would output the results to Google Sheets and therefore my Glide app.

Would that be via Google Apps Scripts? I am not that used to programming Apps Scripts. Is there a easier way? Via a formula perhaps?

Have a look here