Add support to OREF (-o flag)

This commit is contained in:
Dima yawaflua Andreev
2024-11-14 20:22:44 +02:00
parent 27632fa5c6
commit 89781660c3
12 changed files with 504 additions and 57 deletions

16
CONFIG.cpp Normal file
View File

@@ -0,0 +1,16 @@
//
// Created by yawaflua on 30/10/2024.
//
#define OREF_URL "https://www.oref.org.il/warningMessages/alert/History/AlertsHistory.json"
#define TZEVA_ADOM_URL "https://api.tzevaadom.co.il/alerts-history"
#define THREAT_IMAGES_URL "https://www.tzevaadom.co.il/static/images/threat{}.{}"
#define BELL_SOUND_URL "https://www.tzevaadom.co.il/static/sounds/bell.mp3"
#define CITIES_OREF_URL_RU "https://www.oref.org.il/districts/cities_rus.json"
#define CITIES_OREF_URL_EN "https://www.oref.org.il/districts/cities_eng.json"
#define CITIES_OREF_URL_HE "https://www.oref.org.il/districts/cities_heb.json"
#define CITIES_TZEVA_ADOM "https://www.tzevaadom.co.il/static/cities.json"
#define ALERTS_OREF "https://www.oref.org.il/alerts/alertCategories.json"
#define ALERT_TRANSLATIONS_OREF "https://www.oref.org.il/alerts/alertsTranslation.json"