Skip to main content

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

  1. 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/

  1. Installation for PIP for windows
pip install 

Refer this website for further read https://pip.pypa.io/en/stable/installing/

  1. Dependencies

The only dependency is on the requests library.

pip install requests==2.18.4
  1. 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


Download files

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

Source Distribution

afroz-bitcoin-price-1.1.6.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

afroz_bitcoin_price-1.1.6-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

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