Skip to content

Plex API Overview

Generate your Plex in the way that is most comfortable for your platform. We provide a rich Rust API for creating Plex objects and serializing into JSON. One can also use the JSON schema directly, for convenient generation using your programming language of choice.

Plex as JSON

This is a breakdown of the JSON Schema for Plexes. Details on objects, types, and references to both can be found here.

Plex As JSON

API Examples

The Tangram Vision Basic repository is Rust-native. The C++ and Python wrappers presented here are based on the JSON schema, which is in turn based on the Rust API!

Language Link
Rust Tangram Vision Basic:
C++ Tangram Vision Basic: generate_plex.cpp
Python Tangram Vision Basic:
JSON Schema Tangram Vision Basic: plex_schema.json