Mocks ARGE HaWeiKo's consumption-data API (using openapi-mock).
With Docker installed, run:
docker run -p 8080:8080 debakel/arge-consumption-mock
The following endpoints are now available:
/billingunits/{msc_number}/consumptions/periods/
/billingunits/{msc_number}/consumptions/periods/{period}
Example requests:
curl 'http://localhost:8080/billingunits/1000/consumptions/periods/'
curl 'http://localhost:8080/billingunits/1000/consumptions/periods/2020-10'
See openapi-mock for configuration options.