Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def add_project(api_token, name, color=None, indent=None, order=None):
    params = {'token': api_token, 'name': name}

    if color :
        params['color'] = color
    if indent :
        params['indent'] = indent
    if order:
        params['order'] = order

    return connect.connect(url="addProject", params=params)
        


src/c/i/cit-HEAD/cit.py   cit(Download)
 
    project_name = " ".join(project_name)
    status = backend.project.add_project(token, project_name)
 
    # status has two types, the if/else condition must start with status