Skip to content

Commit 7625d99

Browse files
committed
Added support for fraud score.
1 parent 3fb5514 commit 7625d99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ip2locationio/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ func OpenConfiguration(apikey string) (*Configuration, error) {
1212
var config = &Configuration{}
1313
config.apiKey = apikey
1414
config.source = "sdk-go-iplio"
15-
config.sourceVersion = "1.1.0"
15+
config.sourceVersion = "1.1.1"
1616
return config, nil
1717
}

ip2locationio/ipgeolocation.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ type IPGeolocationResult struct {
100100
AdsCategory string `json:"ads_category"`
101101
AdsCategoryName string `json:"ads_category_name"`
102102
IsProxy bool `json:"is_proxy"`
103+
FraudScore int `json:"fraud_score"`
103104
Proxy struct {
104105
LastSeen int `json:"last_seen"`
105106
ProxyType string `json:"proxy_type"`

0 commit comments

Comments
 (0)