Camping.care PHP SDK
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
src
README.md
composer.json

README.md

CampingCare

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.caresupport@camping.care — + 31 85 065 3614