Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-api-wrapper maintained by biila-go

Description
Provides Biila Go API wrapper for Laravel
Last update
2021/05/17 10:16 (dev-master)
License
Links
Downloads
24
Tags

Comments
comments powered by Disqus

Biila Go Partner API Laravel Wrapper

This package provides a streamlined access to the Biila Go Partner API within your Laravel project.

Installation

Run the following command in the root folder of your Laravel project.

composer require biila-go/laravel-api-wrapper

Config values

BIILA_GO_API_TOKEN (required)

Token that grants access to the API.

BIILA_GO_API_IDENTITY (optional)

An optional email address that sets the user for the session. If not given, will default to the owner user of the api token.

Examples

Get reservation index

use BiilaGo\LaravelApiWrapper\Facades\BiilaGoApi;

$reservations = BiilaGoApi::getReservations()->json();
// OR
$reservations = BiilaGoApi::get('reservations')->json();

Get a single reservation

use BiilaGo\LaravelApiWrapper\Facades\BiilaGoApi;

$reservation = BiilaGoApi::getReservation('R-1')->json();
// OR
$reservation = BiilaGoApi::get('reservations/R-1')->json();

You can find information about the endpoints here.