Track and manage onsite employees, visitors, and contractors with touchless workplace sign-in, desk booking, wellness checks, and more.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whosonlocation: {
type: "app",
app: "whosonlocation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.whosonlocation.com/v1/staff`,
auth: {
username: `${this.whosonlocation.$auth.api_key}`,
password: ``,
},
})
},
})
WhosOnLocation uses API keys for authentication. When you connect your WhosOnLocation account, Pipedream securely stores the keys so you can easily authenticate to WhosOnLocation APIs in both code and no-code steps.
To retrieve your API Key,