Your smart digital assistant
The awork API allows developers to access awork.io content and build
applications on top of the awork platform. With the awork API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
awork: {
type: "app",
app: "awork",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.awork.io/api/v1/me`,
headers: {
Authorization: `Bearer ${this.awork.$auth.oauth_access_token}`,
},
})
},
})
Using the Airtable API, you can build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable: {
type: "app",
app: "airtable",
},
baseId: {
type: "$.airtable.baseId",
appProp: "airtable",
},
tableId: {
type: "$.airtable.tableId",
baseIdProp: "baseId",
},
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/${this.baseId}/${this.tableId}`,
headers: {
Authorization: `Bearer ${this.airtable.$auth.api_key}`,
"accept": `application/json`,
},
})
}
})