Download the PHP package katanox/katanox-php without Composer
On this page you can find all versions of the php package katanox/katanox-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download katanox/katanox-php
More information about katanox/katanox-php
Files in katanox/katanox-php
Download katanox/katanox-php
More information about katanox/katanox-php
Files in katanox/katanox-php
Vendor katanox
Package katanox-php
Short Description The official PHP SDK of the Katanox APIs
License MIT
Homepage https://github.com/katanox/katanox-php
Package katanox-php
Short Description The official PHP SDK of the Katanox APIs
License MIT
Homepage https://github.com/katanox/katanox-php
Please rate this library. Is it a good library?
Informations about the package katanox-php
Katanox PHP SDK
Welcome to the official PHP SDK of the Katanox API. You can simply install the SDK using Composer and after providing your API key you can start calling the API.
Make sure you create a Travel Seller account at the Katanox Platform first so that you can receive a sandbox API key.
Install
Via Composer
Manual Installation
Download the files and include autoload.php
:
API Endpoints
All URIs are relative to https://api.katanox.com/v2
Class | Method | HTTP request | Description |
---|---|---|---|
AvailabilityApi | getAvailableProperties | GET /availability | Retrieve the list of available properties |
BookingsApi | cancelBookingById | DELETE /bookings/{booking_id} | Cancel a booking |
BookingsApi | cancelReservation | DELETE /bookings/{booking_id}/reservations/{reservation_id} | Cancel a reservation |
BookingsApi | createBooking | POST /bookings | Create a booking |
BookingsApi | createReservation | POST /bookings/{booking_id}/reservations | Create a reservation |
BookingsApi | getBookingById | GET /bookings/{booking_id} | Retrieve a booking |
BookingsApi | getReservationById | GET /bookings/{booking_id}/reservations/{reservation_id} | Retrieve a reservation by id |
BookingsApi | updateReservation | PUT /bookings/{booking_id}/reservations/{reservation_id} | Update a reservation |
OfferApi | offerRefresh | POST /offers/{offer_id}/refresh | Refresh an offer |
OfferApi | offerValidate | GET /offers/{offer_id} | Retrieve an offer |
PropertiesApi | getProperties | GET /properties | Retrieve the list of contracted properties |
PropertiesApi | getPropertyById | GET /properties/{id} | Retrieve a property by id |
PropertiesApi | getRateplanById | GET /properties/{property_id}/rate-plans/{id} | Retrieve a rate plan by id |
PropertiesApi | getUnitById | GET /properties/{property_id}/units/{id} | Retrieve a unit by id |
Models
- AvailabilityAvailabilityAndPrice
- AvailabilityExtraCharge
- AvailabilityOffer
- AvailabilityPrice
- DtoAmenity
- DtoBedType
- DtoCancellationPolicy
- DtoCreatedBooking
- DtoCreatedReservation
- DtoFacility
- DtoI18NProperty
- DtoI18NRatePlan
- DtoI18NUnit
- DtoNoShowPolicy
- DtoPayment
- DtoPerson
- DtoPrice
- DtoProperty
- DtoPropertyImage
- DtoRatePlan
- DtoRatePlanService
- DtoReservation
- DtoUnit
- DtoUnitImage
- GeopointGeoPoint
- HttpBookingAndReservationLinks
- HttpBookingCreationRequest
- HttpBookingData
- HttpBookingResponse
- HttpPayment
- HttpPerson
- HttpReservationCreationRequest
- HttpReservationData
- HttpReservationResponse
- HttpReservationUpdateRequest
- ModelAmenity
- ModelApiError
- ModelBedType
- ModelGetAvailabilityResponse
- ModelGetPropertiesResponse
- ModelGetPropertyByIdResponse
- ModelGetRatePlanByIdResponse
- ModelGetUnitByIdResponse
- ModelI18NUnit
- ModelInternalServerError
- ModelLink
- ModelOffersData
- ModelPage
- ModelPropertiesData
- ModelPropertiesMeta
- ModelPropertyData
- ModelUnit
- ModelUnitImage
- OfferGetOfferResponse
Tests
To run the tests, use:
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
2.0
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
All versions of katanox-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
The package katanox/katanox-php contains the following files
Loading the files please wait ....