EnerCalc Readings Api Package
Versie door Vdmeijer (overleg | bijdragen) op 17 aug 2021 om 09:34 (Vdmeijer heeft pagina EnerCalc Readings Api hernoemd naar EnerCalc Readings Api Package)
Readings
About the EnerCalc Readings API
The EnerCalc Readings API gives third-party users a useful library to connect, log in, and request data from the EnerCalc platform. A validated account is needed to receive information.
Getting started
Installation
Run the following command :
composer require EnerCalcAPI/readings
Add the service provider to config/app.php under providers :
'providers' => [
Enercalcapi\Readings\EnercalcReadingsApiServiceProvider::class,
],
Requirements
- Guzzle : ^7 - https://github.com/guzzle/guzzle
- Laravel : ^8 - https://laravel.com/
- Php : ^7.4 - https://www.php.net/downloads.php#v7.4.22
.env file
Add the following to your .env file :
ENERCALC_USER = [USERNAME] ENERCALC_PASSWORD = [PASSWORD] ENERCALC_URL = [URL] ENERCALC_DEBUG = [false]
License
This package is open-sourced software licensed under the MIT license (https://opensource.org/licenses/MIT).