All Projects → Zontex → red-alert

Zontex / red-alert

Licence: MIT license
Israeli Pikud Haoref missile detection API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to red-alert

iHealth crawler
iHealth 项目的内容爬虫(一个基于 python 和 MongoDB 的医疗咨询爬虫)
Stars: ✭ 24 (+14.29%)
Mutual labels:  requests
insta share
Share a post into your Instagram account using the requests library.
Stars: ✭ 28 (+33.33%)
Mutual labels:  requests
info-bot
🤖 A Versatile Telegram Bot
Stars: ✭ 37 (+76.19%)
Mutual labels:  requests
http-range
A PHP library for parsing and handling HTTP range requests.
Stars: ✭ 30 (+42.86%)
Mutual labels:  requests
updater
Update mechanism of f1jobs.co
Stars: ✭ 20 (-4.76%)
Mutual labels:  requests
Alertmanager
Alertmanager for macOS.
Stars: ✭ 49 (+133.33%)
Mutual labels:  alerts
HealthApp
A desktop application to fetch Wikipedia,Google,Disease results and save them as text file,in database.Have a Section to search details about doctors in location
Stars: ✭ 23 (+9.52%)
Mutual labels:  requests
Instagram Stalker Scraper
(UNMAINTAINED) Fetch data of any public Instagram profile, without using api
Stars: ✭ 39 (+85.71%)
Mutual labels:  requests
curlall
Simple curl-like CLI tool to automatically page through APIs
Stars: ✭ 25 (+19.05%)
Mutual labels:  requests
fast-decode-uri-component
Fast and safe decodeURIComponent
Stars: ✭ 22 (+4.76%)
Mutual labels:  safe
Pikax
一个基于requests的P站下载器/ A pixiv downloader based on requests
Stars: ✭ 49 (+133.33%)
Mutual labels:  requests
amazon wishlist pricewatch
Periodically check your public Amazon wishlist for price reductions.
Stars: ✭ 22 (+4.76%)
Mutual labels:  requests
Pyrez
(ON REWRITE) An easy to use (a)sync wrapper for Hi-Rez Studios API (Paladins, Realm Royale, and Smite), written in Python. 🐍
Stars: ✭ 23 (+9.52%)
Mutual labels:  requests
discord-group-spammer
You need to run all_together.py and follow the instructions on the readme below. This Tool allows you to use various discord exploits for educational use.
Stars: ✭ 45 (+114.29%)
Mutual labels:  requests
pymae
Materials for the book "Python for Mechanical and Aerospace Engineering"
Stars: ✭ 56 (+166.67%)
Mutual labels:  requests
requests auth
Authentication classes to be used with requests
Stars: ✭ 28 (+33.33%)
Mutual labels:  requests
fink-broker
Astronomy Broker based on Apache Spark
Stars: ✭ 18 (-14.29%)
Mutual labels:  alerts
fennch
Modern fetch-based axios-like HTTP client for the browser and node.js
Stars: ✭ 12 (-42.86%)
Mutual labels:  requests
MathExpressions.NET
➗ Library for parsing math expressions with rational numbers, finding their derivatives and compiling an optimal IL code
Stars: ✭ 63 (+200%)
Mutual labels:  il
Safe stl
A safe version of STL
Stars: ✭ 17 (-19.05%)
Mutual labels:  safe

Description

API Class to get data about rockets flying from Gaza strip to Israel. the API use's the official public API provided by "Pikud ha-oref" in Israel.

Mivtza halot-ha-shahar Update

On August 5th 2022 the Islamic Jihad opened an attack on Israel sending hundreds of rockets per day targeting Israeli civilians. The API was updated to suport the latest locations, cities and districts.

Google API currently disabled because it requires API key, if you still need the API apply your own Google key to make it work.

Features

  • Get red-alerts in real-time from "Pikud ha-oref" public API
  • Fetch location data from alerts codes (coordinates, city names, time to run for shelters)
  • Generate random coordinates within a city for visualization of a flying rocket
  • Count number of alerts currently there is

Example response from the API:

{
  "id": "133042653750000000",
  "cat": "1",
  "title": "ירי רקטות וטילים",
  "data": [
    "מטווח ניר עם",
    "גבים, מכללת ספיר",
    "שדרות, איבים, ניר עם"
  ],
  "desc": "היכנסו למרחב המוגן ושהו בו 10 דקות",
  "timestamp": 1659791786.927377,
  "cities_labels": [
    {
      "label": "מטווח ניר עם",
      "value": "20C0B212CB4A85AB765743BB2A748106",
      "areaid": 26,
      "areaname": "עוטף עזה",
      "label_he": "מטווח ניר עם",
      "migun_time": 15,
      "city_data": {
        "label": "מטווח ניר עם I אזור עוטף עזה",
        "rashut": "",
        "value": "0",
        "areaid": 26,
        "mixname": "מטווח ניר עם I אזור עוטף עזה | עוטף עזה",
        "color": "O"
      }
    },
    {
      "label": "גבים, מכללת ספיר",
      "value": "89679BD023B4DE666AD79E1470E20D83",
      "areaid": 26,
      "areaname": "עוטף עזה",
      "label_he": "גבים, מכללת ספיר",
      "migun_time": 15,
      "city_data": {
        "label": "גבים, מכללת ספיר I אזור עוטף עזה",
        "rashut": "מועצה אזורית: שער הנגב",
        "value": "0",
        "areaid": 26,
        "mixname": "גבים, מכללת ספיר I אזור עוטף עזה | עוטף עזה",
        "color": "O"
      }
    },
    {
      "label": "שדרות, איבים, ניר עם",
      "value": "C5FD35F7510C4E1D535EDD8DE05A7961",
      "areaid": 26,
      "areaname": "עוטף עזה",
      "label_he": "שדרות, איבים, ניר עם",
      "migun_time": 15,
      "city_data": {
        "label": "ניר עם I אזור עוטף עזה",
        "rashut": "מועצה אזורית: שער הנגב",
        "value": "0",
        "areaid": 26,
        "mixname": "ניר עם I אזור עוטף עזה | עוטף עזה",
        "color": "O"
      }
    },
    {
      "label": "שדרות, איבים, ניר עם",
      "value": "3202695F8E2D49A4FCA18B95A88C0CA4",
      "areaid": 26,
      "areaname": "עוטף עזה",
      "label_he": "שדרות, איבים, ניר עם",
      "migun_time": 15,
      "city_data": {
        "label": "שדרות I אזור עוטף עזה",
        "rashut": "",
        "value": "0",
        "areaid": 26,
        "mixname": "שדרות I אזור עוטף עזה | עוטף עזה",
        "color": "O"
      }
    },
    {
      "label": "שדרות, איבים, ניר עם",
      "value": "F53EA9083272E342ADE0146DA1C25E59",
      "areaid": 26,
      "areaname": "עוטף עזה",
      "label_he": "שדרות, איבים, ניר עם",
      "migun_time": 15,
      "city_data": {
        "label": "איבים I אזור עוטף עזה",
        "rashut": "מועצה אזורית: שער הנגב",
        "value": "0",
        "areaid": 26,
        "mixname": "איבים I אזור עוטף עזה | עוטף עזה",
        "color": "O"
      }
    }
  ],
  "time_to_run": 15
}

FAQ

Q) Why is this even helpful?

  • The Class I made is helpful for developers and makers as one Who are willing to develop platforms / apps based on Israeli "Pikud ha-oref" system. The class provides the necessary functions and tools to get the latest information About the Israeli missiles status and when Israel is under attack.

Q) Can't the enemy use it against Israel?

  • No. All the information in the Class is public and available, All I did is to organize it at one place for easy access. I also scraped and organized the cities names with their area codes for easy reading.

Q) Can I take the code and make a product of my own using your Class?

  • Absolutely. The code and everything inside the repository is open-sourced. The Code is under MIT license - please make sure to understand the meaning. The Code provided AS IS WITHOUT ANY WARRANTY.

Q) How can I visualize how much time the rocket have till it will hit the city?

  • Use the milliseconds calculated from how much time left for people to run to shelters, Then visualize using that seconds of long the rocket has to fly till it will hit the city.

Q) Is it possible to predict or to know where exactly the missile will land?

  • No, at least not for the developers. the military may have such capabilities. The prediction is not possible due to many parameters such as: Where the rocket came from, How much fuel is inside the rocket, at what speed is the rocket flying, Directions of the rocket and weather conditions - something which make it impossible for any non-military individual, even with technology such as machine learning and prediction algorithms.

Requirements

  • Python requests library
$ pip3 install requests
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].