Skip to main content

SDK Guide

Galadriel provides official SDKs for Python and TypeScript/JavaScript. These SDKs offer type-safe, idiomatic interfaces for interacting with the GPU marketplace.

Installation

Python SDK

Quick Start

Configuration

Marketplace Operations

Create Orders

List and Get Orders

Cancel Orders

View Orderbook

Price Estimates

Lease Management

Reselling

Error Handling

Async Support

Type Hints

The Python SDK is fully typed:

TypeScript SDK

Quick Start

Configuration

Marketplace Operations

Create Orders

List and Get Orders

Cancel Orders

View Orderbook

Price Estimates

Lease Management

Reselling

Error Handling

TypeScript Types

The SDK is fully typed with TypeScript:

Advanced Examples

Python: Automated Trading Bot

TypeScript: Batch Processing

Python: Cost Tracking

Next Steps

API Reference

Complete REST API documentation

CLI Guide

Command-line interface reference

Examples

Real-world usage examples

GitHub

View SDK source code