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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37033405b9e8f9faf46d0b062e3972b6fa3b1ca153caf905118dd54908df90af |
|
MD5 | 69bd4e229d2c75c7e7e71d1cd5698d85 |
|
BLAKE2b-256 | 628bd8d82f44b5785b4c10cfa0b11bb6a6c90831704ab8acf8407612512736c9 |
Close
Hashes for mindsight_people_control_api-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50d603745866e8be3ac5d3062595cdb945e8da8a002d24ff56845fba8869b30 |
|
MD5 | 1291d42a2953647bad81dbae2bacf16b |
|
BLAKE2b-256 | c70e0aa57d83530934a4686deac25775e2533a9e3f705299ae921bc1b87415a8 |