EnerCalc Readings Api Package: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(EnerCalc Readings API README.md) |
|||
| (5 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
| Regel 5: | Regel 5: | ||
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. | 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: [https://api.enercalc.nl/docs/ EnerCalc Documentation] | |||
=== Installation | = Getting started = | ||
== Installation == | |||
Run the following command : | Run the following command : | ||
| Regel 18: | Regel 20: | ||
], | ], | ||
Or download the package on: [https://github.com/EnerCalcAPI/readings Github] | |||
== Requirements == | |||
* Guzzle : ^7 - https://github.com/guzzle/guzzle | * Guzzle : ^7 - https://github.com/guzzle/guzzle | ||
| Regel 24: | Regel 28: | ||
* Php : ^7.4 - https://www.php.net/downloads.php#v7.4.22 | * Php : ^7.4 - https://www.php.net/downloads.php#v7.4.22 | ||
== .env file == | |||
Add the following to your '''''.env''''' file : | Add the following to your '''''.env''''' file : | ||
| Regel 32: | Regel 36: | ||
ENERCALC_DEBUG = [false] | ENERCALC_DEBUG = [false] | ||
= License = | |||
This package is open-sourced software licensed under the '''''MIT license''''' (https://opensource.org/licenses/MIT). | This package is open-sourced software licensed under the '''''MIT license''''' (https://opensource.org/licenses/MIT). | ||
Huidige versie van 27 aug 2021 om 08:22
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
- 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).