Can someone from apigee share the recommended way to import the third party python packages such as json schema in apigee to be used by the python script policy.
Dos anyone succeed in using json library in python script. It seems annoying if it is not possible.
Answer by Rahul M · May 01, 2018 at 03:08 PM
If there is a Jython version of your library available, you can upload that library (jar file) as an organization resource
Please refer https://docs.apigee.com/api-platform/develop/resource-files
You should then be able to refer a class within the library using a standard "import" statement
Should this JAR be added as a 'py' or 'java' resource? Do we need to reference it in PythonScriptPolicy as a resource?
Python Script Policy 1 Answer
Python Modules in Private Cloud 1 Answer
python callout policy issue 1 Answer