The Occasion API enables you to create powerful web and mobile applications that allow your customers to experience events more efficiently. With this API, you can build applications that fulfill a variety of functions and needs. Here are a few examples of what you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
occasion: {
type: "app",
app: "occasion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.getoccasion.com/api/v1/merchants`,
auth: {
username: `${this.occasion.$auth.api_login}`,
password: `${this.occasion.$auth.api_secret}`,
},
})
},
})
Occasion uses API keys for authentication. When you connect your Occasion account, Pipedream securely stores the keys so you can easily authenticate to Occasion APIs in both code and no-code steps.
You can find your API keys on your Occasion account page.