Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoilomora/iberdrola

Integration with Iberdrola API
https://github.com/zoilomora/iberdrola

api automatic electricity iberdrola icp reading

Last synced: about 4 hours ago
JSON representation

Integration with Iberdrola API

Awesome Lists containing this project

README

        

# Iberdrola

This library aims to help make integrations with the *Iberdrola API*.

## Installation
1) Install via composer
```
composer require zoilomora/iberdrola
```

## Example
```php
getReading();
$floatValue = floatval($reading->valMagnitud);

if (($floatValue/1000) >= $limit) {
// Send notification
}
```

You can see more in the **examples folder**.

## License
Licensed under the [MIT license](http://opensource.org/licenses/MIT)

Read [LICENSE](LICENSE) for more information