Metadata-Version: 2.1
Name: zoho_oauth2
Version: 1.0.6
Summary: Implements OAuth2.0 flow to use ZOHO API.
Home-page: https://github.com/sauravkoli31/zoho_oauth2
Author: Saurav Koli
Author-email: sauravkoli3105@gmail.com
License: MIT
Download-URL: https://github.com/sauravkoli31/zoho_oauth2/archive/refs/tags/1.0.6.tar.gz
Description: # Zoho API - OAuth 2.0
        
        Uses OAuth 2.0 for generating access_tokens for using Zoho APIs.
        
        
        ## Generate required credentials
        
        - **CLIENT_ID**
        - **CLIENT_SECRET** 
        
        Generate the two values from [https://api-console.zoho.com/](https://api-console.zoho.com/).
        Add a self client, and copy the CLIENT_ID and CLIENT_SECRET as seen in the example below.
        
        - **redirect_uri** 
        
        Add the redirect uri of your instance.
        
        - **scope**
        
        You can find the list of scopes in the api documentation of the products you wish to use the API for.
        
        ## API Documentation
        
        The access tokens have only been tested with Manage Engine Service Desk instance in a demo environment, although it should work with most Zoho products. 
        
        Learn more about the APIs from the link below.
        
        - [ZOHO People API Documentation](https://www.zoho.com/people/api/overview.html)
        
        - [ManageEngine ServiceDesk Plus Cloud API Documentation](https://www.manageengine.com/products/service-desk/sdpod-v3-api/index.html)
        
        
        ## Example Usage
        
        
            from zoho_oauth2 import ZohoAPITokens
            
            if __name__ == '__main__':
                test = ZohoAPITokens(
                    client_id=CLIENT_ID,
                    client_secret=CLIENT_SECRET,
                    redirect_uri=REDIRECT_URI,
                    scope=SCOPES(as string, each scope separated by comma)
                )
                print(test.auth_token())
Keywords: zoho,ZohoAPI,ZOHO API,Zoho Peope,Manage Engine
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
