campingcare/campingcare-php-sdk
Composer 安装命令:
composer require campingcare/campingcare-php-sdk
包简介
Connect to the Camping.care system to get data. This could be park, accommodation, prices, availability, reservations, invoicing and contact data. Also you can create reservations, and contact.
README 文档
README
Camping Care PHP SDK
Connect to the Camping.care system to get data. This could be park, accommodation, prices, availability, reservations, invoicing and contact data. Also you can create reservations, and contact.
Requirements
To use the Camping.care PHP SDK, the following things are required:
- Get yourself a free Camping.care Account. No sign up costs.
- Create a Camping.care API key
- Now you're ready to use the Camping.care PHP API client in test mode.
- PHP >= 5.3
- PHP cURL extension
Installation
By far the easiest way to install the Camping.care PHP SDK is to require it with Composer.
$ composer require CampingCare/campingcare-php-sdk:dev-master
{
"require": {
"CampingCare/campingcare-php-sdk": "dev-master"
}
}
You may also git checkout or download all the files, and include the Camping.care PHP sdk manually.
Getting started
Requiring the included autoloader. If you're using Composer, you can skip this step.
require_once('vendor/autoload.php');
Initializing the Camping.care PHP SDK, and setting your API key.
$campingcare = new campingcare_api; $campingcare->set_api_key("YOUR SECRET API KEY");
Getting park information.
$park = $campingcare->get_park();
API documentation
If you wish to learn more about our API, please visit the Camping.care Portal. API Documentation is available in English.
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2013-2017, Boekanders B.V.
Support
Contact: camping.care — support@camping.care — + 31 85 065 3614
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2018-02-05