bookingtime / lib-phpsdk-app
php SDK for bt3.0 app-API
v1.1.5
2024-11-21 11:52 UTC
Requires
- php: ^7.3||^8.0
- kriswallsmith/buzz: ^1.2
- nyholm/psr7: ^1.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- symfony/console: ^5.2
- symfony/phpunit-bridge: ^3.0
README
php SDK for bookingtime app-API
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
- Support for developers: https://developer.bookingtime.com
- See the full API documentation under https://service.bookingtime.com/apidoc/app
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