with goQR.me and QR API?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goqr_me: {
type: "app",
app: "goqr_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.qrserver.com/v1/create-qr-code/`,
params: {
data: `${this.goqr_me.$auth.data}`,
size: `100x100`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qr_api: {
type: "app",
app: "qr_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://qrapi.io/v2/qrcode/url`,
headers: {
"accept": `image/png`,
},
params: {
apikey: `${this.qr_api.$auth.api_key}`,
url: `https://pipedream.com`,
},
})
},
})