import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logo_dev: {
type: "app",
app: "logo_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.logo.dev/search`,
headers: {
Authorization: `Bearer ${this.logo_dev.$auth.secret_key}`,
},
params: {
"q": `Funko`,
},
})
},
})
Logo.dev uses API keys for authentication. When you connect your Logo.dev account, Pipedream securely stores the keys so you can easily authenticate to Logo.dev APIs in both code and no-code steps.
Sign in and copy your API Keys (Publishabel and Secret keys) directly from your dashboard under API Keys.