Skip to main content

An API wrapper for Pikud Haoref's unofficial rocket API.

Project description

PikudHaoref.py



Documentation

An API wrapper for Pikud Haoref's unofficial rocket API written in python.

Features

  • Very easy to use and user friendly.
  • Object Oriented.
  • Detect sirens in real time. (MORE COMING SOON)

Installation

Installing discordSuperUtils is very easy.

python -m pip install pikudhaoref.py

Examples

Siren detector example

import pikudhaoref


client = pikudhaoref.Client(update_interval=2)
print(client.history())  # client.history returns sirens that happened in the last 24 hours.
print(client.get_current_sirens())  # Returns the current sirens


@client.event()
def on_siren(sirens):
    print(f"Siren alert! started sirens: {sirens}")


@client.event()
def on_siren_end(sirens):
    print(f"Sirens {sirens} have ended.")

TODO

  • Add multi language support.
  • Add another version of history command.

Known Issues

  • Currently, None!

Incase you do find bugs, please create an issue or a PR.

Support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pikudhaoref.py-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file pikudhaoref.py-0.0.2.tar.gz.

File metadata

  • Download URL: pikudhaoref.py-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for pikudhaoref.py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ffb8eccc705ccab4fd4c3ed275e54b0141d72f50a802bb0311b0e74c45c2c644
MD5 6a5bfe1ca99940a631345181ace38f08
BLAKE2b-256 7a6fadb6d6a4224bc4cae704b6b9639b884ad471bcdf04432b8be64fa459121b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page