avido/laravel-brickset-api-client

Laravel API Client for the Brickset API

0.2.0 2020-11-10 07:50 UTC

This package is auto-updated.

Last update: 2024-11-10 17:07:23 UTC


README

Build Status Latest Stable Version Total Downloads License composer.lock

Laravel API Client for https://brickset.com/tools/webservices/v3

Installation

composer require avido/laravel-brickset-api-client

Optional Push configuration

php artisan vendor:publish

Configuration

Edit your .env file and add the following variables:
BRICKSET_APIKEY BRICKSET_USERNAME BRICKSET_PASSWORD

Alternatively you can also edit /config/brickset-api.php (if you published the configuration)

Facade

BricksetApiClient

Need to set apikey / user / password programmatically?

$client = new BricksetApiClient($apiKey, $username, $password);