with Blogify and IPinfo.io?
Emit new events when a blog is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
blogify: {
type: "app",
app: "blogify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.blogify.ai/public-api/v1/me`,
headers: {
Authorization: `Bearer ${this.blogify.$auth.oauth_access_token}`,
},
})
},
})
IPinfo.io API offers a fast and simple way to gather IP address data, such as geolocation, ISP details, and more. When used within Pipedream, this API becomes a powerful tool to enrich data workflows, trigger location-based actions, and analyze web traffic. With Pipedream's serverless platform, you can easily integrate IPinfo.io with numerous apps to create custom automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipinfo_io: {
type: "app",
app: "ipinfo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipinfo.io/8.8.8.8`,
headers: {
Authorization: `Bearer ${this.ipinfo_io.$auth.api_token}`,
},
})
},
})