Talenox is a cloud-based HR software designed to manage payroll and leave, and store precious employee details from a central location.
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talenox: {
type: "app",
app: "talenox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.talenox.com/api/v2/employees`,
headers: {
Authorization: `Bearer ${this.talenox.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})