Mindsight People Control API to create, update and delete records
Project description
Mindsight People Control API
Use mindsight people control functionalities in your python application.
Instalation
pip install mindsight-people-control-api
Configuration
Environment variables
To use mindsight-people-control-api, you need to set two environment variables:
# ---DOTENV EXAMPLE---
MINDSIGHT_API_TOKEN= # Token to authenticate
MINDSIGHT_API_BASE_URL=https://controle.mindsight.com.br/api # Base path of your api instance
Usage Example
You can use mindsight-people-control-api create, update and delete registers on all system tables.
List registers
You can use get methods to list registers of system table. See the following example:
import mindsight_people_control_api
# Instantiate Areas client object
areas_client = mindsight_people_control_api.Areas()
# get_list_areas will return a ApiPaginationResponse object.
# This object represents a pagination response from rest api from people control
# and with get_all method from ApiPaginationResponse object, you can get all
# data of all pages. The data will stored in results attribute of ApiPaginationResponse
areas_data = areas_client.get_list_areas().get_all().results
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mindsight_people_control_api-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaaad115677b4cdd1ae4b68c241d17817d4c0dbe3f424030c5b47da90f8e5119 |
|
MD5 | a53dc276ded4d5ea5fa5bb669b6e2b01 |
|
BLAKE2b-256 | 2779f2c683beb0fcb89c6e15cc608c505e87c66b2a47afd3edaa45a3475d1e06 |
Close
Hashes for mindsight_people_control_api-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad0a1b77a471433c0f75989dd0edea99a607ecabe05a628983bacc7f5620fb5 |
|
MD5 | 1178d90817c8ea455452da3ead04d608 |
|
BLAKE2b-256 | a06b92032352ec1fe1d68cd3397f348afb551020f9896a5c1c402076270990ee |