with ArcGIS Online and Google Marketplace?
The ArcGIS Online API lets you work with ESRI's platform for mapping and spatial analysis. In Pipedream, harness this API to craft workflows combining GIS data management, location-based analytics, and automated mapping tasks. Pipedream's serverless architecture means you can trigger these workflows via HTTP requests, schedule them, or even fire them in response to emails or form submissions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
arcgis_online: {
type: "app",
app: "arcgis_online",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/outdoor`,
headers: {
Authorization: `Bearer ${this.arcgis_online.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_marketplace: {
type: "app",
app: "google_marketplace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/${this.google_marketplace.$auth.application_id}`,
headers: {
Authorization: `Bearer ${this.google_marketplace.$auth.oauth_access_token}`,
},
})
},
})