What do you want to automate

with ipstack and Google Perspective?

Prompt, edit and deploy AI agents that connect to ipstack, Google Perspective and 2,900+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
IP Lookup with the ipstack API

Look up single IPv4 or IPv6 addresses. See the documentation

 
Try it
Integrate the ipstack API with the Google Perspective API
Setup the ipstack API trigger to run a workflow which integrates with the Google Perspective API. Pipedream's integration platform allows you to integrate ipstack and Google Perspective remarkably fast. Free for developers.

Connect ipstack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ipstack: {
      type: "app",
      app: "ipstack",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `http://api.ipstack.com/8.8.8.8`,
      params: {
        access_key: `${this.ipstack.$auth.access_key}`,
      },
    })
  },
})

Connect Google Perspective

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { google } from 'googleapis';

export default defineComponent({
  props: {
    google_perspective: {
      type: "app",
      app: "google_perspective",
    }
  },
  async run({ steps, $ }) {
    const client = await google.discoverAPI("https://commentanalyzer.googleapis.com/$discovery/rest?version=v1alpha1");
    const analyzeRequest = {
      comment: {
        text: 'Jiminy cricket! Well gosh durned it! Oh damn it all!',
      },
      requestedAttributes: {
        TOXICITY: {},
      },
    };
    return await client.comments.analyze({
      key: this.google_perspective.$auth.api_key,
      resource: analyzeRequest,
    });
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo