avido/laravel-brickset-api-client

Laravel API客户端,用于Brickset API

0.2.0 2020-11-10 07:50 UTC

This package is auto-updated.

Last update: 2024-09-10 16:54:40 UTC


README

Build Status Latest Stable Version Total Downloads License composer.lock

Laravel API客户端,用于https://brickset.com/tools/webservices/v3

安装

composer require avido/laravel-brickset-api-client

可选的推送配置

php artisan vendor:publish

配置

编辑您的.env文件并添加以下变量
BRICKSET_APIKEY BRICKSET_USERNAME BRICKSET_PASSWORD

或者您也可以编辑/config/brickset-api.php(如果您已发布配置)

门面

BricksetApiClient

需要程序化设置apikey / 用户 / 密码吗?

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