Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.97 KB

README.MD

File metadata and controls

33 lines (25 loc) · 1.97 KB

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