1.0.2 • Published 7 months ago

paismo-integration-sdk v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

This package is created by Paismo HR that allows their clients to upload timesheets (Employees data) to their server.

functions

This package has two functions: 1. init(client_id, client_secret) 2. pushData(data)

init(client_id, client_secret)

This functions initializes the package so that the data can be sent to Paismo HR's server. It expects a client_id and client_secret.

pushData(data)

This functions sends the given data to Paismo HR's server. It expects the json data in the following format:

[
    {
      "company_employee_id": "12345",
      "start_time": "2023-08-10T09:00:00",
      "end_time": "2023-08-10T05:00:00"
    },
    {
      "company_employee_id": "12345",
      "start_time": "2023-08-10T09:00:00",
      "end_time": "2023-08-10T05:00:00"
    },
    ...
]

If you face any issues or have any queries. You can reach out to us at abdullah@paismo.com :D.

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago