Metadata-Version: 2.1
Name: intelex
Version: 0.0.20
Summary: Intelex SDK
Home-page: https://github.com/thomassampson/intelex_sdk
Author: Thomas Sampson
Author-email: sampsont91@gmail.com
License: UNKNOWN
Description: [![Build Status](https://travis-ci.org/thomassampson/intelex_sdk.svg?branch=v0.0.20)](https://travis-ci.org/thomassampson/intelex_sdk) [![PyPI version](https://badge.fury.io/py/intelex.svg)](https://badge.fury.io/py/intelex)
        
        # Intelex Python SDK
        
        ## INSTALLATION
        
        ```python
        pip install intelex
        ```
        
        ## PREREQUISITES
        
        You must set the following environment variables in order to use the SDK:
        
        1. **ilx_endpoint**: The endpoint of your intelex tenant. Example for if tenant/site is called 'Python': https://clients.intelex.com/Login3/Python
        2. **ilx_endpoint**: The api key for your intelex tenant. Example: dgH67SHvhGhsb7Jsbwe3HnsN6
        
        ## USAGE
        
        ### Basic Functions
        
        Results are returned as a string.
        
        ```python
        import intelex as ilx
        
        # Get current SDK version
        ilx.get_version()
        ```
        
        ### Object Functions
        
        Results as returned as a dictionary.
        
        ```python
        import intelex as ilx
        
        object_name = 'IncidentsObject'
        record_id = 'd0bf1ab9-6ff8-4362-8620-11cd74adb30a'
        related_name = 'SubIncidents'
        related_record_id = '3883f898-f6a3-40c8-be7e-8be000c596c6'
        
        # Returns all records from an Intelex object that the user is authorized to view
        ilx.get_records(object_name)
        
        # Returns an individual record from the Incidents object by referencing the UID of the record
        ilx.get_record(object_name, record_id)
        
        # Navigating to related records allows clients to request only the relational data belonging to a parent record.
        ilx.get_related_records(object_name, record_id, related_name):
        
        # Navigating to related records allows clients to request only specific relational data belonging to a parent record. 
        ilx.get_related_record(object_name, record_id, related_name, related_id)
        ```
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
