import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grabpenny: {
type: "app",
app: "grabpenny",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://grabpenny.com/api/v1/client/auth/me/`,
headers: {
Authorization: `Bearer ${this.grabpenny.$auth.api_key}`,
},
})
},
})
Creates a new campaign in GrabPenny. See the documentation
GrabPenny uses API keys for authentication. When you connect your GrabPenny account, Pipedream securely stores the keys so you can easily authenticate to GrabPenny APIs in both code and no-code steps.