![ip2location proxy api ip2location proxy api](http://filegets.com/screenshots/full/ftp-client-engine-for-xbase--_5604.gif)
IP2ProxyWebService ( "demo", "PX11", True ) rec = ws. get_all ( "4.0.0.47" ) print ( 'Is Proxy: ' + str ( record )) print ( 'Proxy Type: ' + record ) print ( 'Country Code: ' + record ) print ( 'Country Name: ' + record ) print ( 'Region Name: ' + record ) print ( 'City Name: ' + record ) print ( 'ISP: ' + record ) print ( 'Domain: ' + record ) print ( 'Usage Type: ' + record ) print ( 'ASN: ' + record ) print ( 'AS Name: ' + record ) print ( 'Last Seen: ' + record ) print ( 'Threat: ' + record ) print ( 'Provider: ' + record ) # close IP2Proxy BIN database db. get_provider ( "4.0.0.47" )) # single function to get all proxy data returned in array record = db. get_database_version ()) # individual proxy data check print ( 'Is Proxy: ' + str ( db. get_package_version ()) print ( 'Database Version: ' + db. get_module_version ()) print ( 'Package Version: ' + db. open ( "IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP-DOMAIN-USAGETYPE-ASN-LASTSEEN-THREAT-RESIDENTIAL.BIN" ) # get versioning information print ( 'Module Version: ' + db. IP2Proxy () # open IP2Proxy BIN database for proxy lookup db.
#IP2LOCATION PROXY API INSTALL#
To install this module type the following (for PyPI): pip install IP2Proxy Return remaining credit of the web service account. Returns the VPN service provider name if available.īelow is the description of the functions available in the Web Service lookup. Return the threat types reported to proxy's IP address or domain name. Return the last seen days ago value of proxy's IP address or domain name.
![ip2location proxy api ip2location proxy api](https://cdn.ip2location.com/assets/img/customer_logo/cus_logo_ubisoft.png)
Return the autonomous system (AS) name of proxy's IP address or domain name. Return the autonomous system number (ASN) of proxy's IP address or domain name. Return the ISP's usage type of proxy's IP address or domain name. Return the domain name of proxy's IP address or domain name.
#IP2LOCATION PROXY API CODE#
Please visit ISO3166-2 Subdivision Code for the information of ISO3166-2 supported Return the ISO3166-2 region name of the proxy. Return the ISO3166-1 country name of the proxy. Return the ISO3166-1 country code (2-digits) of the proxy. Please visit IP2Location for the list of proxy types supported Get the package version (1 to 11 for PX1 to PX11 respectively).Ĭheck whether if an IP address was a proxy. Open the IP2Proxy BIN data with File I/O mode for lookup. This data file can be downloaded atīelow are the methods supported in this library. It lookup the proxy IP address from IP2Proxy BIN Data file. This library allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.