import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
currents_api: {
type: "app",
app: "currents_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.currentsapi.services/v1/search?language=us&keywords=amazon&apiKey=${this.currents_api.$auth.api_token}`,
})
},
})
Currents API uses API keys for authentication. When you connect your Currents API account, Pipedream securely stores the keys so you can easily authenticate to Currents API APIs in both code and no-code steps.
Sign in and copy your API Token from your Profile