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.2.tar.gz (14.2 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.2-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mindsight_full_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 38855bf3775ff92bd2234f0e4cb4dbd9a4d9a13372b8a3364126f296a7adddce
MD5 fa351c74225214401fbd60a10cd51336
BLAKE2b-256 b22efdbf523a473a4e3378b8e96f2df74c5475267d16f0285ca0e9f333733c1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mindsight_full_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27b35a266c01ef4df0ed55e2a555fab61c051a263e6bd173681c9435da4b5a9f
MD5 1ca155d549684477d8ebf655f23c946f
BLAKE2b-256 049558ccd67957eaf6742a8d8aa3ebc2be80b555af894f0103c64e63548c9a7e

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