The data API, in Swagger
Every JSON file PrompTugal.news serves, as GET calls you can try here: generated at each build from the files themselves, each with its schema and a real example.
Every fact on this site is a JSON file, and every file is a GET call. The OpenAPI 3.1 document, api/v1/openapi.json, is generated at each build from the files the build wrote: a path that repeats (one file per company, per place, per graph) is one templated path whose parameter lists every value, each response names its schema and shows a real example. Choose an operation, press Try it out, then Execute: the call goes to this site.
- The whole site
- Portugal
- The Algarve
- Faro
- Loulé
- Quarteira
- Silves
- Tavira
- Vila Real de Santo António
- Portimão
- Lagos
- Olhão
- Albufeira
- Lagoa
- Monchique
- Aljezur
- Vila do Bispo
- Castro Marim
- Alcoutim
- São Brás de Alportel
Where the data is thin and where every fact is held: the data quality and the audit.