with Geoapify and ServiceNow?
Retrieves geographical coordinates for a given IP address. See the documentation
Calculates a route between two sets of latitude and longitude points. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Retrieves geocoding information for a given address. See the documentation
The Geoapify API offers a suite of location-based services, including geocoding, routing, and map data. With Pipedream, you can leverage these services to create serverless workflows that react to various triggers, transform and analyze location data, and integrate with other APIs or services. Whether you're building apps that require address lookup, route optimization, or location intelligence, integrating Geoapify with Pipedream enables you to automate and scale these operations efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
geoapify: {
type: "app",
app: "geoapify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.geoapify.com/v1/geocode/search`,
params: {
text: `44 Montgomery St., San Francisco, CA 94104`,
format: `json`,
apiKey: `${this.geoapify.$auth.api_key}`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})