outgoingip

Returns the outgoing ip address


License
Other
Install
pip install outgoingip==1.0

Documentation

py-outgoing-ip

================== A simple script to get the outgoing ip to use in the code. This might be useful to use in conjunciton with IP base API.

Installaiton

==================== sudo pip install outgoingip

Usage

============= In [1]: from outgoingip import *

In [2]: IP 

Out[2]: '217.205.197.194' 

In [3]: o = OutGoingIp('http://newprovider.com') 

In [4]: o.getIP() 

Out[4]: '217.205.197.194'