Open mrchrisadams opened 2 years ago
As a reference, here is Electricity Map's implementation: https://github.com/electricitymap/electricitymap-contrib/blob/master/parsers/TW.py
http://www.taipower.com.tw/d006/loadGraph/loadGraph/data/genary.txt http://www.taipower.com.tw/d006/loadGraph/loadGraph/data/genary.json
It is used on this page and updates every 10 minutes.
Similar to #42 I think we should implement the API changes in #44 first.
This is a bit more involved as we need to scrape the page but we can use goquery for that or even a larger framework like Colly.
As a reference, here is Electricity Map's implementation: https://github.com/electricitymap/electricitymap-contrib/blob/master/parsers/TW.py
http://www.taipower.com.tw/d006/loadGraph/loadGraph/data/genary.txt http://www.taipower.com.tw/d006/loadGraph/loadGraph/data/genary.json
It is used on this page and updates every 10 minutes.