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