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`,
},
})
},
})
Get search terms based on the provided query. See the documentation
Get Points of Interest around your current location. See the documentation
TomTom uses API keys for authentication. When you connect your TomTom account, Pipedream securely stores the keys so you can easily authenticate to TomTom APIs in both code and no-code steps.