SDKs & Libraries
Official and community SDKs for integrating with the VardaCal API.
Coming Soon! We're actively developing official SDKs for popular programming languages. For now, you can use our RESTful API directly.
Official SDKs
📦
JavaScript/TypeScript
Official Node.js and browser SDK with TypeScript support
npm install @vardacal/sdk
Coming Q2 2025
🐍
Python
Python SDK with async support
pip install vardacal
Coming Q2 2025
Quick Start Examples
Direct API Usage
Until official SDKs are available, you can easily integrate with our REST API:
class VardaCalClient {
constructor(apiKey, apiSecret) {
this.apiKey = apiKey;
this.apiSecret = apiSecret;
this.baseURL = 'https://api.vardacal.com/api/v1';
}
async request(endpoint, options = {}) {
const url = `${this.baseURL}${endpoint}`;
const response = await fetch(url, {
...options,
headers: {
'X-API-Key': this.apiKey,
'X-API-Secret': this.apiSecret,
'Content-Type': 'application/json',
...options.headers
}
});
return response.json();
}
async getBookings() {
return this.request('/bookings');
}
async createBooking(username, data) {
return this.request(`/users/${username}/book`, {
method: 'POST',
body: JSON.stringify(data)
});
}
}
// Usage
const client = new VardaCalClient('your_api_key', 'your_api_secret');
const bookings = await client.getBookings();