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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f54b58b1571f13c4b656edd740487b998caf6647761c291c01413e2c1261c9 |
|
MD5 | d32d9008894534fa98c06ac6f0e5a254 |
|
BLAKE2b-256 | 6a39caa02d4bce51bfb5cce85e5aaeb15ab23e1cf3c7ca35a299b9bc1686d766 |
Close
Hashes for mindsight_people_control_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b814da9a96cf6dcd1245757636d337cdf4fc9c0d3fc6d6e1c293aa9077fd10 |
|
MD5 | 77eb72450794b434c53a2ac6d97b6a31 |
|
BLAKE2b-256 | 1810d765883ef6e4b8bdbb9c390103d1c483c4511f8ff8fb7d5ed8e7e8e1db1f |