create_project
imerit_ango.sdk.SDK.
create_project(name, description)
Creates a new project with the specified name and description.
Parameters
name: string
The name of the project to be created. This field is required and cannot be left empty.
Example:
'Project One'
description: string, optional, default ""
A brief description of the project.
Example:
'Vehicle Classification Project'
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)
response = ango_sdk.create_project(name="Created from SDK",
description="I created this from the SDK.")
project_id = response.get("data", {}).get("project", {}).get("_id")
Last updated