The IP2Proxy™ Proxy Detection Web Service is a hosted Web Service that allows instant detection of anonymous proxy, VPN, TOR exit nodes, search engine robots (SES) and residential proxies (RES) by IP address. It is a REST API supporting both JSON and XML responses and provides IP location lookup information when a proxy is detected.
Query IP address using IP2Proxy API. See the docs here for how to use this API.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
The IP2Proxy API can be used to build applications that can perform the
following tasks:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2proxy: {
type: "app",
app: "ip2proxy",
},
ip: {
type: "string",
default: "201.42.237.89"
},
package: {
type: "string",
default: "PX11"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2proxy.com`,
params: {
key: `${this.ip2proxy.$auth.api_key}`,
ip: `${this.ip}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})