These packages are available as a package collection, usable in Xcode or SwiftPM.
Official Swift client library for the InternetData API: look up any IP address, AS or domain, and download the databases.
1 package.