Using the Benzinga API, you can build applications that:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benzinga: {
type: "app",
app: "benzinga",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.benzinga.com/api/v2/news`,
headers: {
"accept": `application/json`,
},
params: {
token: `${this.benzinga.$auth.api_key}`,
},
})
},
})
Benzinga uses API keys for authentication. When you connect your Benzinga account, Pipedream securely stores the keys so you can easily authenticate to Benzinga APIs in both code and no-code steps.