semvec/pypi-packages huggingface dataset:
ipfinder 0.2
Simple library to grab an external IP using HTTPS.
License: BSD
Keywords: iplookup ip find whois

This is a simple Python library to get an external IP by HTTPS.

Example:
    import ipfinder

    link = ipfinder.IPFinder()
    link.updateip()
    print(link.getip())


API Reference:

    class IPFinder

        methods:
            IPFinder.seturl(string) - OPTIONAL - Set the URL of the IP lookup site. Site needs to return IP only.
            IPFinder.getip() - Returns IP address as a string.
            IPFinder.updateip() - Send connection request to get external IP.