with Big Data Cloud and Cloudflare Browser Rendering?
Retrieve time zone data for a specified location. See the documentation
Fetches rendered HTML content from provided URL or HTML. See the documentation
Obtain a user's location data based on their IP address. See the documentation
Fetches rendered PDF from provided URL or HTML. See the documentation
Convert a user's coordinates to a human-readable address. See the documentation
The Big Data Cloud API provides a suite of RESTful APIs for IP geolocation and various other data services that can enrich your applications with valuable insights. On Pipedream, you can integrate these APIs into serverless workflows to automate data collection, analysis, and decision-making processes. Whether you're looking to enhance user experience with location-based content, validate user data, or perform any number of data-enrichment tasks, Big Data Cloud can be a go-to resource within your Pipedream workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
big_data_cloud: {
type: "app",
app: "big_data_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-bdc.net/data/country-by-ip`,
params: {
key: `${this.big_data_cloud.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudflare_browser_rendering: {
type: "app",
app: "cloudflare_browser_rendering",
}
},
async run({steps, $}) {
const data = {
"url": `https://pipedream.com?via=go`,
}
return await axios($, {
method: "post",
url: `https://api.cloudflare.com/client/v4/accounts/${this.cloudflare_browser_rendering.$auth.account_id}/browser-rendering/content`,
headers: {
Authorization: `Bearer ${this.cloudflare_browser_rendering.$auth.api_token}`,
"content-type": `application/json`,
},
data,
})
},
})