Use the ipinfo.io API to get data about an IP address.