2017 © Pedro Peláez
 

library yii2-ecoclient

client library for ecotower aggregation server

image

ut8ia/yii2-ecoclient

client library for ecotower aggregation server

  • Wednesday, June 20, 2018
  • by ut8ia
  • Repository
  • 2 Watchers
  • 1 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 31 % Grown

The README.md

yii2-ecoclient

client library for ecotower service., (*1)

according to swagger api : https://app.swaggerhub.com/apis/ut8ia/ecoTower/1.0.0, (*2)

For installation add in composer json :

    "ut8ia/yii2-ecoclient": "*",

set in params.php or params-local.php your prefix for tables names and credentials:

'ecoclient' => [
    'dbTablesPrefix' => 'ecoclient_',
    'apikey' => 'kjS0h234o14SwN6go1ssr6P22nP3PMd4',
    'hashkey'=>'luef786642gg523465',
    'apihost' => 'https://api.ecotower-aggregator.org'    
]

apply migrations :

./yii migrate --migrationPath=vendor/ut8ia/yii2-ecoclient/migrations, (*3)

config module in main.php :

'modules' => [
...
        'ecoclient' => [
            'class' => 'ut8ia\ecoclient\modules\ecoclient\Ecoclient'
        ]
    ]

try to fetch reports from city by cron console call {city id}:

./yii ecoclient/retrieve/cityreport 1

also you can use web view example of your reports :

https://yoursite.com/ecoclient/display, (*4)

The Versions

20/06 2018

dev-master

9999999-dev

client library for ecotower aggregation server

  Sources   Download

GPL-3.0

The Requires

 

by Eugene Anufriev

20/06 2018

dev-uat

dev-uat

client library for ecotower aggregation server

  Sources   Download

GPL-3.0

The Requires

 

by Eugene Anufriev

15/01 2018

dev-dev-shap

dev-dev-shap

client library for ecotower aggregation server

  Sources   Download

GPL-3.0

The Requires

 

by Eugene Anufriev

29/12 2017

dev-dbTablesPrefix

dev-dbTablesPrefix

client library for ecotower aggregation server

  Sources   Download

GPL-3.0

The Requires

 

by Eugene Anufriev