Skip to main content

A client SDK for the Rust Payroll System API.

Project description

openapi-client

A high-performance, next-generation payroll management system API. This documentation provides detailed information on all available endpoints for managing employees, configuring payroll rules, and automating payroll runs.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import openapi_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import openapi_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://127.0.0.1:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "http://127.0.0.1:8080"
)



# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapi_client.EmployeesApi(api_client)

    try:
        # List All Employees
        api_response = api_instance.employees_get()
        print("The response of EmployeesApi->employees_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling EmployeesApi->employees_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://127.0.0.1:8080

Class Method HTTP request Description
EmployeesApi employees_get GET /employees List All Employees
EmployeesApi employees_id_get GET /employees/{id} Get Employee by ID
EmployeesApi employees_post POST /employees Create a New Employee
PayrollAutomationApi payroll_runs_run_id_get GET /payroll/runs/{run_id} Get Payroll Run Status
RolesConfigurationApi roles_get GET /roles List All Roles
RolesConfigurationApi roles_post POST /roles Create a New Role
RolesConfigurationApi roles_role_id_delete DELETE /roles/{role_id} Delete a Role
RolesConfigurationApi roles_role_id_get GET /roles/{role_id} Get Role by ID
RolesConfigurationApi roles_role_id_put PUT /roles/{role_id} Update a Role
PlaceholdersFutureFeaturesApi analytics_reports_get GET /analytics/reports Get Analytics Reports
PlaceholdersFutureFeaturesApi payroll_run_post POST /payroll/run Manually Trigger a Payroll Run

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dibbayajyotiroy_payroll_sdk-0.1.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dibbayajyotiroy_payroll_sdk-0.1.0-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

Details for the file dibbayajyotiroy_payroll_sdk-0.1.0.tar.gz.

File metadata

File hashes

Hashes for dibbayajyotiroy_payroll_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 77fff49309f6078aea40bf7c7919a1dd6ee3176d9714039417c4bf2017fcf19d
MD5 018ecc4cf44e7638f3fba73bc5db62c7
BLAKE2b-256 aa86e8eabe0ed9938742698f04d72d9291e5a2bb42e358eefafd7b773c312316

See more details on using hashes here.

File details

Details for the file dibbayajyotiroy_payroll_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dibbayajyotiroy_payroll_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62670c22485f3295d22aa55fdca82c2f7ff33eb78de6e2debc35ef2441f072ca
MD5 7b1b2b2c447e4353d18b0ab6952bd44d
BLAKE2b-256 1b1002d73414d4d5f706592739074373090c986aa71cd0ff49f11f47420e349d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page