Python Code Example

August 07, 2017

A quick Python example.

import requests
from requests.auth import HTTPBasicAuth
ip=requests.get('https://api.fraudguard.io/ip/8.8.8.8', verify=True, auth=HTTPBasicAuth('username', 'password'))
print ip.text