tykus/soliscloud
最新稳定版本:0.0.1
Composer 安装命令:
composer require tykus/soliscloud
包简介
API Client and SDK library for the SolisCloud API
README 文档
README
A PHP client library for the SolisCloud API. Get data from your solar panels installation.
Installation
You can install the package via composer:
composer require tykus/soliscloud
Basic Usage
// Initialize the client $client = new Tykus\SolisCloud\Client($keyId, $keySecret); // Get an instance of the SolisCloud class $soliscloud = new Tykus\SolisCloud\SolisCloud($client); // Get the current data for the given Station. $soliscloud->getStationDetail($stationId);
Using the Facade in Laravel
Place credentials in environment variables in .env file using the folloiwng keys:
SOLISCLOUD_KEY_IDSOLISCLOUD_KEY_SECRETSOLISCLOUD_API_URL
SolisCloud::getStationDetail($stationId);
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email brian@tykus.ie instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 253
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-01