SDK Libraries

Official SDKs for popular programming languages

About Our SDKs

Our official SDKs make it easy to integrate with the Bookings Global API in your preferred programming language. Each SDK is maintained by our engineering team and includes:

  • Full API coverage with type-safe methods
  • Automatic authentication handling
  • Built-in retry logic and error handling
  • Comprehensive documentation and examples
  • Regular updates and security patches

Available SDKs

Node.js

Version 2.1.0

Official SDK for Node.js and TypeScript applications

npm install @booking-clone/node-sdk

Python

Version 2.0.5

Python SDK with support for Python 3.8+

pip install booking-clone-sdk

Java

Version 1.9.2

Java SDK compatible with Java 11 and above

implementation 'com.booking-clone:java-sdk:1.9.2'

PHP

Version 3.0.1

PHP SDK for PHP 7.4+ and PHP 8.x

composer require booking-clone/php-sdk

Ruby

Version 1.5.3

Ruby gem for Ruby 2.7+

gem install booking_clone

Go

Version 1.8.0

Go module for Go 1.18+

go get github.com/booking-clone/go-sdk

.NET

Version 2.3.0

.NET library for .NET 6.0+

dotnet add package BookingGlobal.SDK

TypeScript

Version 2.1.0

TypeScript SDK with full type definitions

npm install @booking-clone/typescript-sdk

Quick Start Example

Here's a simple example using the Node.js SDK to fetch properties:

const { Bookings Global Client } = require('@booking-clone/node-sdk');

const client = new Bookings Global Client({
  apiKey: process.env.BOOKING_CLONE_API_KEY
});

// Fetch all properties
const properties = await client.properties.list();
console.log(properties);

// Create a new booking
const booking = await client.bookings.create({
  propertyId: 'prop_123',
  checkIn: '2026-03-15',
  checkOut: '2026-03-20',
  guests: 2
});
console.log(booking);

Contributing

All our SDKs are open source and we welcome contributions from the community. If you find a bug or want to add a feature, please open an issue or submit a pull request on GitHub.

For SDK-specific questions or issues, please visit the respective GitHub repository.

Need a Different Language?

Let us know what language you need and we'll consider adding it to our roadmap