Skip to content

Commit 9c38f23

Browse files
committed
Update the documentation
1 parent 18f2688 commit 9c38f23

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/source/code.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
```

docs/source/quickstart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ print ('AS Name: ' + db.get_as_name("4.0.0.47"))
6060
print ('Last Seen: ' + db.get_last_seen("4.0.0.47"))
6161
print ('Threat: ' + db.get_threat("4.0.0.47"))
6262
print ('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
6566
record = db.get_all("4.0.0.47")
@@ -78,6 +79,7 @@ print ('AS Name: ' + record['as_name'])
7879
print ('Last Seen: ' + record['last_seen'])
7980
print ('Threat: ' + record['threat'])
8081
print ('Provider: ' + record['provider'])
82+
print ('Fraud Score: ' + record['fraud_score'])
8183

8284
# close IP2Proxy BIN database
8385
db.close()

0 commit comments

Comments
 (0)