import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
keyzy: {
type: "app",
app: "keyzy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.keyzy.io/v2/licenses/show-license/${this.keyzy.$auth.serial_number}`,
params: {
app_id: `${this.keyzy.$auth.app_id}`,
api_key: `${this.keyzy.$auth.api_key}`,
},
})
},
})
KEYZY uses API keys for authentication. When you connect your KEYZY account, Pipedream securely stores the keys so you can easily authenticate to KEYZY APIs in both code and no-code steps.