Create class

To create a class:

sa.create_annotation_class(
    project = "Project Name",
    name = "Class Name",
    color = "#FFAAAA",
    class_type = "tag" )

Upload classes

To upload a JSON file of classes to a project:

sa.create_annotation_classes_from_classes_json(
    project = "Project Name",
    classes_json = "./data/classes/classes.json")

Search classes

To search the classes of a project:

sa.search_annotation_classes(
    project = "Project Name",
    name_contains = "car" )

Delete class

To delete a class:

sa.delete_annotation_class(
    project = "Project Name",
    annotation_class = "Class Name")