Skip to content

This is the load-shedding API for South Africa you can use this API to search suburbs that get electricity supply from DIRECT ESKOM. The API provides information about Load Shedding schedules for suburbs.

Notifications You must be signed in to change notification settings

n-sipho/load-shedding-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load Shedding API SA

Introduction

This is the load-shedding API for South Africa you can use this API to search suburbs that get electricity supply from DIRECT ESKOM. The API provides information about Load Shedding schedules for suburbs, It is still in development so it's not yet perfect I currently have 36095 suburbs and I will continue to add more. Some suburbs/Areas are not yet available because they have a different supplier for example some areas in Gauteng get their electricity via City Power Johannesburg etc... I still need to write the code to extract the areas.

Features

  • Users can search suburb/area by text
  • Users can get the current Load Shedding stage status
  • Users can fetch Load Shedding schedules for their suburb/area for up to 7 days in advance

API Endpoints

HTTP Verbs Endpoints Action
GET /search?text=search_query To search for a suburb/area
GET /schedule?id=suburb_id To get Load Shedding schedules
GET /status To get current Load Shedding stage status

Technologies Used

  • NodeJS
  • JavaScript
  • Express.js
  • Docker
  • Postgres
  • Prisma
  • Postman
  • Microsoft Excel

About

This is the load-shedding API for South Africa you can use this API to search suburbs that get electricity supply from DIRECT ESKOM. The API provides information about Load Shedding schedules for suburbs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published