Python helpers function to ease use of Jinko's API
Jinko is an innovative SaaS and CaaS platform focused on trial simulation and design optimization. The Jinko API offers programmatic access to a wide range of functionalities, facilitating integration with various tools and enhancing collaboration.
pip install jinko-sdk
# Or
poetry add jinko-sdk
import jinko_helpers as jinko
# Connect to Jinko
jinko.initialize(
projectId='016140de-1753-4133-8cbf-e67d9a399ec1',
apiKey='50b5085e-3675-40c9-b65b-2aa8d0af101c'
)
# Check authentication
response = jinko.makeRequest('/app/v1/auth/check')
# Make a few requests
projectItem = jinko.makeRequest(
'/app/v1/project-item/tr-EUsp-WjjI',
method='GET',
).json()
Find out more at Jinko Doc