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