Skip to content
PHP and JavaScript based interfaces to the Arctic Reservations v2 API.
Branch: master
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.
examples Use insertOrUpdate with example contact form Sep 4, 2018
includes Validate type of cached data Dec 22, 2018
js/reserve Cache guest count Dec 10, 2017
.gitignore Clean up git ignore. Jan 11, 2015
LICENSE Fix autoloader configuration. Mar 16, 2014
README.md Update README Mar 17, 2018
composer.json Update API location Apr 11, 2016

README.md

arctic-api

PHP and JavaScript based interfaces to the Arctic Reservations v2 API.

PHP

These classes make it easy to access data from Arctic Reservations and make changes, all via a PHP object oriented interface. The files include support for OAuth 2.0 authentication, as well as access to the REST API to browse, create (insert), read (load), update and delete objects.

Initial classes are provided for common API endpoints, comments provide documentation on common fields (although fields may vary based on system configuration) and examples show basic usage.

To use these functions, you must have both client credentials and API credentials. If you are an Arctic Reservations customer, please contact support for this information.

Support for:

  • Persons
  • Person metadata - addresses, phone numbers, email addresses, notes
  • Inquiries
  • Invoices
  • Invoice data - groups, items, transactions
  • Activities
  • Reservations
  • Reservation members (guests)
  • Trips
  • Trip types
  • Trip pricing levels
  • Trip add-ons
  • Guides
  • Guide schedule entries
  • Rentals
  • Rental includes
  • Rental items
  • Rental item pricing levels
  • Business groups

Requires PHP 5.3+ (supports PHP 7.0).

JavaScript

The JavaScript reservation widget makes it easy to build custom replacements to the first step of the online booking process, including the ability to search and filter trips, as well as to display the initial booking form to get guest and add-on information. The JavaScript functionality relies on an open (unauthenticated) API for online reservations.

Version

Version v0.8 (beta)

Version 0.8 expands the person model to include a new method (insert or update), adds guide and guide schedule models, improves the way references are implemented, as well as support for both pre-populated or on-demand single references.

Version 0.7 has added a few new models (activities, rentals and reservations), added more methods to existing models (such as price and availability data for rental items) and substantially improved error handling by providing different exception types based on the HTTP status code.

Version 0.6 introduces the JavaScript reservation widget, as well as a few example implementations.

The repository has also been renamed to remove PHP from the name.

Authors

L. Nathan Perkins

You can’t perform that action at this time.