Suger SDKs
Integrate with your language of choice. Official SDKs for the most popular programming languages.
Node.js
JavaScript/TypeScriptFull-featured SDK for Node.js with TypeScript support
Python
Python 3.8+Pythonic SDK with async support and type hints
Go
Go 1.18+Idiomatic Go SDK with context support
Java
Java 11+Enterprise-ready SDK for Java applications
Simple & Intuitive
Get started with just a few lines of code
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.