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
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)
Built Distribution
Close
Hashes for ipfinder-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff6e8c84f1d01c1deb00b66487bc376a21993f14d7dc89989f36176ab59ca62 |
|
MD5 | 182a45e4abef433e5fc3c32f4933910e |
|
BLAKE2b-256 | 69181b1eb866be7951fc4f51367cc8f318a9b492721dcc027aa1c153d7f5ba7c |