bookingtime/lib-phpsdk-app

php SDK for bt3.0 app-API

v1.0.17 2024-05-15 10:55 UTC

README

php SDK for bookingtime app-API

logo php

Requirements

  • PHP >= 7.3
  • A PSR-4 implementation

How To Install

The recommended way to install the SDK is through Composer.

composer require bookingtime/lib-phpsdk-app

see: https://packagist.org/packages/bookingtime/lib-phpsdk-app

Getting Started

<?php
use bookingtime\phpsdkapp\Sdk;

//create SDK
$sdk=new Sdk(
   '<CLIENT_ID>',
   '<CLIENT_SECRET>',
   ['locale'=>'en','timeout'=>15,'mock'=>FALSE]
);

//load appointment from API
$appointment=$sdk->appointment_show([
   'organizationId'=>'f6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
   'appointmentId'=>'edxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
]);

Help and docs

Security

If you discover a security vulnerability within this package, please send an email to support@bookingtime.com or create a ticket. All security vulnerabilities will be promptly addressed.

License

This SDK is distributed under the MIT License, see LICENSE file for more information.

Copyright 2014 bookingtime GmbH. All Rights Reserved.

Made with 💙 by © bookingtime

logo