Customer-Facing Analytics
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Updates a record if recordId
is provided or adds a record to a table.
Datawaves is a powerful API that enables developers to easily and efficiently
access data from a variety of sources. With Datawaves, you can easily connect
to and query data from popular data sources such as Amazon Redshift, Google
BigQuery, and Microsoft SQL Server.
In addition, Datawaves provides a number of features that make it easy to work
with data, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datawaves: {
type: "app",
app: "datawaves",
}
},
async run({steps, $}) {
const data = {
"id": `123`,
"product": `iPhone Charger`,
}
return await axios($, {
method: "post",
url: `https://datawaves.io/api/v1.0/projects/${this.datawaves.$auth.project_id}/events/test`,
headers: {
"Authorization": `${this.datawaves.$auth.secret_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})