import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openthesaurus: {
type: "app",
app: "openthesaurus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.openthesaurus.de/synonyme/search`,
params: {
"q": `Luftschloss`,
format: `application/json`,
},
})
},
})