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}`,
},
})
},
})
Look up single IPv4 or IPv6 addresses. See the documentation
ipstack uses API keys for authentication. When you connect your ipstack account, Pipedream securely stores the keys so you can easily authenticate to ipstack APIs in both code and no-code steps.
Sign in and copy your API key from your ipstack dashboard