예제 #1
0
def iplookup(args):
    api = ConnectApiClient(auth=args.rf_token)
    print(api.lookup_ip(args.ipaddress))
예제 #2
0
 def test_get_ip(self):
     client = ConnectApiClient()
     resp = client.lookup_ip("8.8.8.8")
     self.assertIsInstance(resp, DotAccessDict)