Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

LiteGraph Client SDKs

This directory contains official client SDKs for interacting with the LiteGraph REST API.

Available SDKs

SDK Language Package Documentation
C# SDK C# / .NET NuGet README
Python SDK Python 3.8+ PyPI README
JavaScript SDK Node.js / JavaScript npm README

Quick Start

C# (.NET)

dotnet add package LiteGraph.Sdk
using LiteGraph.Sdk;

LiteGraphSdk sdk = new LiteGraphSdk("http://localhost:8701", "default");
Graph graph = await sdk.Graph.Create(new Graph { TenantGUID = tenantGuid, Name = "My graph" });

Python

pip install litegraph_sdk
from litegraph_sdk import configure, Graph

configure(endpoint="http://localhost:8701", tenant_guid="your-tenant-guid", access_key="default")
graph = Graph.create(name="My Graph")

JavaScript

npm install litegraphdb
import { LiteGraphSdk } from 'litegraphdb';

const sdk = new LiteGraphSdk('http://localhost:8701', 'your-tenant-guid', 'default');
const graph = await sdk.createGraph('guid', 'My Graph');

Features

All SDKs provide:

  • Full REST API coverage for graphs, nodes, edges, labels, tags, and vectors
  • Multi-tenant support
  • Authentication via bearer tokens
  • Search and filtering capabilities
  • Route finding and graph traversal
  • GEXF export support
  • Error handling and retry mechanisms

Documentation

For complete API documentation, visit litegraph.readme.io.

For REST API endpoint reference, see REST_API.md in the repository root.