eelcol/laravel-tradetracker
最新稳定版本:0.0.2
Composer 安装命令:
composer require eelcol/laravel-tradetracker
包简介
Laravel wrapper for the Tradetracker API
关键字:
README 文档
README
composer require eelcol/laravel-tradetracker
Setup .env
Change your .env to include the following variables:
TRADETRACKER_ID=...
TRADETRACKER_SECRET=...
Publish assets
php artisan vendor:publish --tag=laravel-tradetracker
Also run the migrations after publishing:
php artisan migrate
Fetch data
Load transactions
use Eelcol\LaravelTradetracker\Support\Facades\Tradetracker;
// last 7 days
Tradetracker::getTransactions(now()->subDays(7), now());
// today only
Tradetracker::getTransactions(now());
Make another GET call
Currently, only the call to load transactions is build-in. To make another GET call:
use Eelcol\LaravelTradetracker\Support\Facades\Tradetracker;
Tradetracker::get('path', ['param1' => 123]);
to do
- use Laravel Soap https://laravel-news.com/laravel-soap
- add tests
统计信息
- 总下载量: 1.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-29