with TomTom and Murf?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tomtom: {
type: "app",
app: "tomtom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tomtom.com/search/2/autocomplete/pizza.json`,
params: {
key: `${this.tomtom.$auth.api_key}`,
language: `en-us`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
murf: {
type: "app",
app: "murf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.murf.ai/v1/speech/voices`,
headers: {
"api-key": `${this.murf.$auth.api_key}`,
"token": `${this.murf.$auth.token}`,
},
})
},
})