with IBM Cloud - Natural Language Understanding and Claris Filemaker Server OData API?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ibm_cloud_natural_language_understanding: {
type: "app",
app: "ibm_cloud_natural_language_understanding",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ibm_cloud_natural_language_understanding.$auth.instance_url}/v1/models`,
auth: {
username: `apikey`,
password: `${this.ibm_cloud_natural_language_understanding.$auth.api_key}`,
},
params: {
version: `2022-04-07`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_odata_api: {
type: "app",
app: "claris_filemaker_server_odata_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_odata_api.$auth.api_url}/fmi/odata/v4/${this.claris_filemaker_server_odata_api.$auth.database_name}/$metadata`,
auth: {
username: `${this.claris_filemaker_server_odata_api.$auth.username}`,
password: `${this.claris_filemaker_server_odata_api.$auth.password}`,
},
})
},
})