Many apps built for Algeria need the same few pieces of data. A sign-up form needs a wilaya dropdown. A leave or delivery planner needs the public holidays of the year. A community or mosque app needs prayer times. None of this is hard to find for a person, but for a program it usually means copying a table out of a PDF, pasting it into the code, and fixing it by hand the day someone reports a mistake.
dz-data-api puts that data behind a small REST API. It is written in Go with no dependencies, and the data is embedded in the binary. The README describes the audience plainly: Algerian developers building apps that need a wilaya dropdown, a holiday calendar for leave or delivery planning, or prayer times, and who do not want to scrape PDFs or hard-code tables.
What I like to point out first is that the project says how accurate each piece of data is. Some of it is exact, some of it is computed, and some of it is an approximation that is labelled as one.
What it does
Wilayas.…