LaravelPackages.net
Acme Inc.
Toggle sidebar
biila-go/laravel-api-wrapper

Provides Biila Go API wrapper for Laravel

24
0
v0.1
About biila-go/laravel-api-wrapper

biila-go/laravel-api-wrapper is a Laravel package for provides biila go api wrapper for laravel. It currently has 0 GitHub stars and 24 downloads on Packagist (latest version v0.1). Install it with composer require biila-go/laravel-api-wrapper. Discover more Laravel packages by biila-go or browse all Laravel packages to compare alternatives.

Last updated

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.

Comments