Skip to main content

API client for EFCrud

Project description

EFCrud

  • API version: 1.0
  • Package version: 1.0.2
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

From Pypi:

pip install EFCrud

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

pip install git+https://github.com/dprakash2101/EFCrudPython.git

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

Then import the package:

import EFCrud

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 EFCrud

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import EFCrud
from EFCrud.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://localhost:7217
# See configuration.py for a list of all supported configuration parameters.
configuration = EFCrud.Configuration(
    host = "https://localhost:7217"
)



# Enter a context with an instance of the API client
with EFCrud.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = EFCrud.AuthApi(api_client)
    userdto = EFCrud.Userdto() # Userdto |  (optional)

    try:
        api_response = api_instance.api_auth_login_post(userdto=userdto)
        print("The response of AuthApi->api_auth_login_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->api_auth_login_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost:7217

Class Method HTTP request Description
AuthApi api_auth_login_post POST /api/Auth/login
AuthApi api_auth_register_post POST /api/Auth/register
EmployeesApi api_employees_get GET /api/Employees
EmployeesApi api_employees_id_delete DELETE /api/Employees/{id}
EmployeesApi api_employees_id_get GET /api/Employees/{id}
EmployeesApi api_employees_id_put PUT /api/Employees/{id}
EmployeesApi api_employees_post POST /api/Employees
FeaturesApi api_features_id_delete DELETE /api/Features/{id}
FeaturesApi api_features_id_put PUT /api/Features/{id}
RolesApi api_roles_add_employee_role_post POST /api/Roles/Add-EmployeeRole
RolesApi api_roles_add_roles_post POST /api/Roles/Add-roles
RolesApi api_roles_delete_emp_role_delete DELETE /api/Roles/Delete-EmpRole
RolesApi api_roles_show_employee_roles_get GET /api/Roles/Show-EmployeeRoles
RolesApi api_roles_show_roles_get GET /api/Roles/Show-roles

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth2

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

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

EFCrud-1.0.5.4.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

EFCrud-1.0.5.4-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file EFCrud-1.0.5.4.tar.gz.

File metadata

  • Download URL: EFCrud-1.0.5.4.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for EFCrud-1.0.5.4.tar.gz
Algorithm Hash digest
SHA256 97ee901124c1b9c4d4e6cd940be1e4364e59bc2d456143ab88010130c3fe9013
MD5 d5b949c672d267fe79529551a04b3060
BLAKE2b-256 78baac0efb11f479642d239c0d848d8bf20ab4addac97c02c33fc7a036d6fcab

See more details on using hashes here.

File details

Details for the file EFCrud-1.0.5.4-py3-none-any.whl.

File metadata

  • Download URL: EFCrud-1.0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for EFCrud-1.0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 08eed7ce4e736a2b892e618794f05aa7f37c3579523faac6c8924ebb2f5271f2
MD5 045ded22ab22be7ec7594e67606d4bfd
BLAKE2b-256 e9304e1d3a1a05d1e59bd5c86cf8a493ef367dda8ee938e408de2def2b125347

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