Cale-Torino / Load_shedding_api

An API Endpoint documentation to help notify the public in South Africa of rolling blackout times (AKA loadshedding) since 2007
13 stars 3 forks source link

Municipality total is 0 #1

Closed derickvds closed 1 year ago

derickvds commented 1 year ago

Hi,

Do you maybe know why a lot of the suburb "tot" counts are = 0? If so do you have a workaround to get the selected suburb schedule?

Kind Regards, Derick

Cale-Torino commented 1 year ago

Hi, It looks like when the Tot value is 0 that particular suburb will give an invalid response. I suppose it's an error on Eskom's side so not much I can do. Not very user friendly but hey its Eskom😬. Perhaps you can try different suburb names sometimes they change these names to make our lives harder.

Example JSON below:

api

apir

derickvds commented 1 year ago

Hi,

Thanks for the reply. I thought the issue was on their side. :)

Cale-Torino commented 1 year ago

Closed