Mindsight Full API to create, update and delete records
Project description
Mindsight Full API
Use mindsight full functionalities in your python application.
Instalation
pip install mindsight-full-api
Configuration
Environment variables
To use mindsight-full-api, you need to set two environment variables:
# ---DOTENV EXAMPLE---
MINDSIGHT_FULL_API_TOKEN= #Token to authenticate
MINDSIGHT_FULL_API_URL= #Base path of your api instance
Usage Example
You can use mindsight-full-api in order to 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:
from mindsight_full_api import Absence
# Instantiate Absence client object
absence_client = Absence()
# get_list_absences 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
absence_data = absence_client.get_list_absences().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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mindsight_full_api-0.1.6.tar.gz.
File metadata
- Download URL: mindsight_full_api-0.1.6.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
669d2279b6ac3c7293ffa56b93e19d203e9bea963cd09d18a122a442957db0f8
|
|
| MD5 |
d6901a518bc7085a6ceaa83078c6dc8c
|
|
| BLAKE2b-256 |
ea877149feae4b961029c634fa6adf603c23c4f5c236bf413a4cadbea81fc4f1
|
File details
Details for the file mindsight_full_api-0.1.6-py3-none-any.whl.
File metadata
- Download URL: mindsight_full_api-0.1.6-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74ab7c8117477f71dc2ec96498382ab335ed358608a09eae76f766c1e36302ce
|
|
| MD5 |
6d42385242e7cfe5fa8b620bee62dcfe
|
|
| BLAKE2b-256 |
3e4301547f60879bdf05a7dfcf6cdbe2308e2f9f5a5087fda898fe2d4983d486
|