Skip to content

eric-smartlove/maxmind_proxy_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaxMind Proxy Detection (unofficial)

Gem Version Test Coverage Code Climate

Wrapper for MaxMind's Proxy Detection service (https://www.maxmind.com/en/proxy)

For minFraud, see this other gem: https://rubygems.org/gems/maxmind

Installation

Requires ruby 1.9.x or more

Version 0.0.1 tested with ruby 1.9.3, ruby 2.0.0 and ruby 2.1.5

Usage

MaxmindProxyDetection.license_key = 'your_license_key'

# Returns a float between 0.0 and 4.0
proxy_score = MaxmindProxyDetection.score("127.0.0.1")

Note that, apparently, when Maxmind service is queried about the same ip several times, only one call is spent.

About

Unofficial wrapper for MaxMind's Proxy Detection service (https://www.maxmind.com/en/proxy)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages