Novant

Documentation

Sign in

Import

Import methods allow bulk loading of project data from CSV. All methods accept a CSV string and return a dict with the result status.

Zones

import_zones(csv_data)

Spaces

import_spaces(csv_data)

Assets

import_assets(csv_data)

Sources

import_sources(csv_data)

Source Map

import_source_map(csv_data)

Maps points from a source to assets. See the API Reference for the expected CSV format.

import_trends(csv_data, mode=None)

Arguments

Argument Default Description
csv_data CSV string content (required)
mode merge Import mode: merge, append, or prepend

The CSV must have ts as the first column (ISO 8601 timestamps), followed by one column per point ID. Maximum 50 columns and 10,000 rows per request.

Example

# Import assets from a CSV string
csv = "id,name,type\na.1,AHU-1,ahu\na.2,AHU-2,ahu\n"
result = client.import_assets(csv)
print(result)

# Import trend data
csv = "ts,s.2.4,s.2.5\n2026-03-09T00:00:00,72.1,68.4\n"
result = client.import_trends(csv, mode="append")
print(result)

See the API Reference for full CSV format details per endpoint.