Metadata-Version: 2.1
Name: ihela-python-client
Version: 0.0.2
Summary: A Python high level client for accessing iHela APIs.
Home-page: https://github.com/ubuviz/ihela-pyhton-client
Author: UbuViz
Author-email: info@ubuviz.com
License: MIT License
Description: iHela Client
        ============
        
        This repository provides a Python client for iHela platform.
        
        Get started
        -----------
        
        
        1. Install the package with ``pip install ihela-python-client``
        2. import the package for using the provided functions to communicate with the iHela API
        
        .. code-block :: python
        
           from ihela_client.client import Client 
        
           CLIENT_ID = "<Your Client ID>"
           CLIENT_SECRET = "<Your Client Secret>"
           TEST_ENV = True
        
           cl = Client(CLIENT_ID, CLIENT_SECRET, test=TEST_ENV)
           redirect_uri = "https://yourapp.com/uri/to/redirect/to/"
        
           auth_url = cl.get_authorization_url(redirect_uri)
        
        The `redirect_uri` must be registered with the client to be used.
        
        3. Redirect to the returned `auth_url` : This will allow the user to login in the iHela website and allow your application with an authorization code. After login, the user will be redirect to the given `redirect_uri`.
        4. The `redirect_uri` must handle the received authorization code and pass to the authenticate url : 
        
        ::
           cl.authenticate(authorization_code=auth_code_received)
        
           # To verifiy that the user is well authenticated :
           cl.is_authenticated() # Must return True if the authentication went well
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/x-rst
