Skip to main content

Mindsight Full API to create, update and delete records

Project description

Mindsight Full API

PyPI Latest Release

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mindsight_full_api-0.1.7.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

mindsight_full_api-0.1.7-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file mindsight_full_api-0.1.7.tar.gz.

File metadata

  • Download URL: mindsight_full_api-0.1.7.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for mindsight_full_api-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4ca532c572791ae0de6b907b1f482101c9ea977232799d52fca9a6633eaf61a0
MD5 ce82293961d6f7aee69819e1d07758cc
BLAKE2b-256 f8724808247f16695fcc1caea5e65eed9cecff7810c000e86ce97084848bc850

See more details on using hashes here.

File details

Details for the file mindsight_full_api-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for mindsight_full_api-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 485c158f55525cee9bb996cb742b09d56febf2f5ac20e27af37e84b91f8a1cd3
MD5 327f976f392c12a854125f8178f36961
BLAKE2b-256 c73b4f779abfc3b175d849c5aa050462e36e94f976ec75cdf56c17ab46763ab1

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