import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
piped: {
type: "app",
app: "piped",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.piped.$auth.instance_api_url}/suggestions`,
params: {
query: `Game`,
},
})
},
})
Piped uses API keys for authentication. When you connect your Piped account, Pipedream securely stores the keys so you can easily authenticate to Piped APIs in both code and no-code steps.