Fetch water usage information from City of Toronto MyWaterToronto API endpoint.
- Clone repository.
- Create
config.jsonfile with authentication info. Sample configuration:
{
"account_number": "000000000",
"client_number": "000000000-00",
"last_name": "mckim",
"postal_code": "X1X 1X1",
"most_recent_method_payment": "4"
}
- Run
php bin/mywatertoronto consumptionin command line.
For more information on consumption command options, run php bin/mywatertoronto consumption --help.