Using the ApiFlash API, you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apiflash: {
type: "app",
app: "apiflash",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apiflash.com/v1/urltoimage`,
params: {
access_key: `${this.apiflash.$auth.access_key}`,
url: `https://google.com`,
},
})
},
})
ApiFlash uses API keys for authentication. When you connect your ApiFlash account, Pipedream securely stores the keys so you can easily authenticate to ApiFlash APIs in both code and no-code steps.
All API calls needs to be authenticated using a valid access key that can be found in the dashboard.