import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
financial_modeling_prep: {
type: "app",
app: "financial_modeling_prep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://financialmodelingprep.com/stable/search-symbol`,
params: {
apikey: `${this.financial_modeling_prep.$auth.api_key}`,
query: `AAPL`,
},
})
},
})
Financial Modeling Prep uses API keys for authentication. When you connect your Financial Modeling Prep account, Pipedream securely stores the keys so you can easily authenticate to Financial Modeling Prep APIs in both code and no-code steps.