with AITable.ai and OTO?
Create a datasheet in the specified space. See the documentation
Create a new field in the specified datasheet. See the documentation
Delete a field in the specified datasheet. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aitable_ai: {
type: "app",
app: "aitable_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://aitable.ai/fusion/v1/datasheets/${this.aitable_ai.$auth.datasheet_id}/records`,
headers: {
Authorization: `Bearer ${this.aitable_ai.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})