EnerCalc Readings Api Package

Uit EnerWiki
Naar navigatie springen Naar zoeken springen

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.

More information can be found in the: EnerCalc Documentation

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,
   ],

Or download the package on: Github

Requirements

.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).