Skip to main content

Simple library to grab an external IP using HTTPS.

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipfinder-0.2.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

ipfinder-0.2-py2.py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page