File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -56,4 +56,5 @@ Retrieve geolocation information for an IP address.
5656| threat | Security threat reported. |
5757| proxy_type | Type of proxy. |
5858| provider | Name of VPN provider if available. |
59+ | fraud_score | Potential risk score (0 - 99) associated with IP address. |
5960```
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ print ('AS Name: ' + db.get_as_name("4.0.0.47"))
6060print (' Last Seen: ' + db.get_last_seen(" 4.0.0.47" ))
6161print (' Threat: ' + db.get_threat(" 4.0.0.47" ))
6262print (' Provider: ' + db.get_provider(" 4.0.0.47" ))
63+ print (' Fraud Score: ' + db.get_fraud_score(" 4.0.0.47" ))
6364
6465# single function to get all proxy data returned in array
6566record = db.get_all(" 4.0.0.47" )
@@ -78,6 +79,7 @@ print ('AS Name: ' + record['as_name'])
7879print (' Last Seen: ' + record[' last_seen' ])
7980print (' Threat: ' + record[' threat' ])
8081print (' Provider: ' + record[' provider' ])
82+ print (' Fraud Score: ' + record[' fraud_score' ])
8183
8284# close IP2Proxy BIN database
8385db.close()
You can’t perform that action at this time.
0 commit comments