Integrate requester IPlookup


Hello, I created an account at which seems to be one of the best options for GeoIP location.

I want to simply dynamically show the visitors country and their flags.
Ipstack allows to do that in their parameters.

However, I don’t know how to integrate it.
Has anyone integrated that before?

Here are screenshots of the code:

What’s the best way to integrate this API for my needs?