with goQR.me and HeyReach?
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: {
heyreach: {
type: "app",
app: "heyreach",
}
},
async run({steps, $}) {
const data = {
"offset": `0`,
"keyword": `your_account_name`,
"limit": `10`,
}
return await axios($, {
method: "post",
url: `https://api.heyreach.io/api/public/li_account/GetAll`,
headers: {
"x-api-key": `${this.heyreach.$auth.api_key}`,
},
data,
})
},
})