Automate anything with Abstract APIs
The Abstract - IP Geolocation API allows you to request detailed information
about a specific IP address, including country, region, city, latitude and
longitude, and more. This information can be used to build a variety of
applications and services, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
abstract_ip_geo: {
type: "app",
app: "abstract_ip_geo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipgeolocation.abstractapi.com/v1/?api_key=${this.abstract_ip_geo.$auth.api_key}&ip_address=75.111.82.152`,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})