Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.42 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.42 KB

Gilfoyle Bitcoin Alert

forthebadge

Made for devotion to the TV series Silicon Valley, Gilfoyle Bitcoin Alert is a Python3 script which alerts the user with the Napalm Death sound (as the one used by Gilfoyle in Season 5 Episode 3) when the Bitcoin price changes rapidly above or below a given threshold.

The price is fetched from the Binance API every 30 seconds and the default currency is USD. These values can be changed at will.

How to install and run code

Installation

# clone the repo
$ git clone https://github.com/BITPoliTO/bitcoin-alert.git

# change the working directory to bitcoin-alert
$ cd bitcoin-alert

# install general requirements
$ pip install -r requirements.txt

# Run this line only on MacOS
$ pip install pyobjc

On Linux make sure python3-gst-1.0 is installed by running sudo apt install python3-gst-1.0

Run

$ python alert.py


Made to scare the BIT PoliTO office 👻 by