BITCOIN PRICE NOTIFICATION
Project description
BITCOIN NOTIFICATION ALERT APP
This is a python script package, bitcoin price notification to get notified for the regular updates of bitcoin price on slack, gmail and telegram. The aim is to push notifications when the price of bitcoin changes at certain time interval, user can specify the time interval. By default time interval and threshold are set to 0.1 in minutes and $10000 respectively. When the conditions in the program are satisfied the trigger is fired and user will recieve notifications on slack, gmail and telegram.
DESCRIPTION
Bitcoin price is a fickle thing. You never really know where it’s going to be at the end of the day. So, instead of constantly checking various sites for the latest updates, let’s make a Python app to do the work for you.
We’re going to use the popular automation website IFTTT.
We’re going to create there IFTTT applets:
One for emergency notification when Bitcoin price falls under a certain threshold and one for regular Telegram and one for Slack updates on the Bitcoin price.
These will be triggered by our Python app which will consume the data from the Coindesk API.
An IFTTT applet is composed of two parts: a trigger and an action.
Trigger will be a webhook service provided by IFTTT.
Our Python app will make an HTTP request to the webhook URL which will trigger an action. Now, this is the fun part—the action could be almost anything you want. IFTTT offers a multitude of actions like sending an email, updating a Google Spreadsheet and even calling your phone.
INSTALLATION
You might need to do these installations
- Install python version 3
This website will help you find all the versions available as per your system requirments.Install python3.
https://www.python.org/downloads/
- Installation for PIP for windows
pip install
Refer this website for further read https://pip.pypa.io/en/stable/installing/
- Dependencies
The only dependency is on the requests library.
pip install requests==2.18.4
- Install bitcoin-notifier package/module from PIP (on terminal)
pip install afroz-bitcoin-price
USAGE
Following query on terminal will provide you with all the help options
INPUT
afroz-bitcoin-price -h
OUTPUT
usage: afroz-bitcoin-price [-h] [--d decision] [--i interval] [--u upper threshold]
Bitcoin Notification Alert
optional arguments: -h, --help show this help message and exit --d decision Enter (Yes/No) - Yes will run the program --i interval Enter time interval --u upper threshold Set upper threshold limit in USD for notification
afroz-bitcoin-price --d=Yes --i=0.1 --u=10000
This will provide 5 prices of Bitcoin, at the specified time interval according to the code.
TELEGRAM GROUP INVITE LINK -
YOU ARE MOST WELCOME! SEE YOU THERE! https://t.me/joinchat/L5pJsBmFWhCQwtKVye4oDw
CONTRIBUTIONS
Updates are always welcome, feel free to drop your suggestions! Looking forward for your contribution. ❤️
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file afroz-bitcoin-price-1.1.6.tar.gz
.
File metadata
- Download URL: afroz-bitcoin-price-1.1.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8503e90f011194e302758b23019a86428d0f1bc243dc7607415807dabca2d926 |
|
MD5 | 12a35f33f2fd163a8c829b3c6383705f |
|
BLAKE2b-256 | 5151375248a556b52f234065b22ccc02e5f4007c1daea0f2a85b76328e93dce2 |
File details
Details for the file afroz_bitcoin_price-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: afroz_bitcoin_price-1.1.6-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4531b2165d489f52a1268e9e9722738c155cebbd1c97312ac1d005dc35a67caf |
|
MD5 | 9b00d299c04ee322eddb502fb17831e0 |
|
BLAKE2b-256 | 00f1cbe5930684028ee33a01b82a8ced93af44b6702a14004cb425022caaf108 |