You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-11Lines changed: 56 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
4
4
# IP2Proxy Ruby Library
5
5
6
-
This module allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits. It lookup the proxy IP address from **IP2Proxy BIN Data** file. This data file can be downloaded at
6
+
This module allows user to reverse search of IP address to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots and data center ranges using IP2Proxy BIN database. Other information available includes proxy type, country, state, city, ISP, domain name, usage type, AS number, AS name and last seen date.
7
+
8
+
It lookup the proxy IP address from **IP2Proxy BIN Data** file. This data file can be downloaded at
7
9
8
10
* Free IP2Proxy BIN Data: https://lite.ip2location.com
9
11
* Commercial IP2Proxy BIN Data: https://www.ip2location.com/proxy-database
@@ -23,51 +25,94 @@ Below are the methods supported in this module.
23
25
|get_package_version|Get the package version (1 to 4 for PX1 to PX4 respectively).|
24
26
|get_module_version|Get the module version.|
25
27
|get_database_version|Get the database version.|
26
-
|is_proxy|Check whether if an IP address was a proxy. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address</li></ul>|
28
+
|is_proxy|Check whether if an IP address was a proxy. Please see [Proxy Type](#proxy-type) for details. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address</li></ul>|
27
29
|get_all|Return the proxy information in array.|
28
30
|get_proxytype|Return the proxy type. Please visit <ahref="https://www.ip2location.com/databases/px4-ip-proxytype-country-region-city-isp"target="_blank">IP2Location</a> for the list of proxy types supported|
29
31
|get_country_short|Return the ISO3166-1 country code (2-digits) of the proxy.|
30
32
|get_country_long|Return the ISO3166-1 country name of the proxy.|
31
33
|get_region|Return the ISO3166-2 region name of the proxy. Please visit <ahref="https://www.ip2location.com/free/iso3166-2"target="_blank">ISO3166-2 Subdivision Code</a> for the information of ISO3166-2 supported|
32
34
|get_city|Return the city name of the proxy.|
33
35
|get_isp|Return the ISP name of the proxy.|
36
+
|get_domain|Return the domain name of proxy's IP address or domain name.|
37
+
|get_usagetype|Return the ISP's usage type of proxy's IP address or domain name. Please see [Usage Type](#usage-type) for details.|
38
+
|get_asn|Return the autonomous system number (ASN) of proxy's IP address or domain name.|
39
+
|get_as|Return the autonomous system (AS) name of proxy's IP address or domain name.|
40
+
|get_last_seen|Return the last seen days ago value of proxy's IP address or domain name.|
s.description="The official IP2Proxy Ruby library to detect anonymous proxy, VPN and Tor exit nodes."
10
+
s.description="The official IP2Proxy Ruby library to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots and data center ranges using IP2Proxy BIN database. Other information available includes proxy type, country, state, city, ISP, domain name, usage type, AS number, AS name and last seen date."
0 commit comments