get_task
imerit_ango.sdk.SDK.
get_task(task_id)
Get information on a task
Parameters
task_id: string
The unique identifier for the task. You can find the task ID in the user interface or retrieve it using the get_tasks function.
Returns:
output: dict
A dictionary containing the result of the operation.
Example
import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK
load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
ango_sdk = SDK(api_key)
sdk_response = ango_sdk.get_task('<YOUR TASK ID>')
data_url = sdk_response['data']['task']['asset']['data']
external_id = sdk_response['data']['task']['asset']['externalId']
Last updated