SDKs

Suger SDKs

Integrate with your language of choice. Official SDKs for the most popular programming languages.

Node.js

JavaScript/TypeScript

Full-featured SDK for Node.js with TypeScript support

$ npm install @suger/sdk
View Documentation

Python

Python 3.8+

Pythonic SDK with async support and type hints

$ pip install suger-sdk
View Documentation

Go

Go 1.18+

Idiomatic Go SDK with context support

$ go get github.com/suger/sdk-go
View Documentation

Java

Java 11+

Enterprise-ready SDK for Java applications

$ implementation 'io.suger:sdk:1.0.0'
View Documentation

Simple & Intuitive

Get started with just a few lines of code

example.ts
import { SugerClient } from '@suger/sdk';

const client = new SugerClient({
  apiKey: process.env.SUGER_API_KEY
});

// Create a private offer
const offer = await client.offers.create({
  productId: 'prod_abc123',
  buyerId: 'buyer_xyz789',
  pricing: {
    type: 'fixed',
    amount: 10000,
    currency: 'USD'
  }
});

console.log('Offer created:', offer.id);

Need a different language?

Our REST API works with any language. Check out the full API documentation.