Giter VIP home page Giter VIP logo

python_project's Introduction

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 bitcoin-notification-f

USAGE


Following query on terminal will provide you with all the help options

INPUT

bitcoin-notification-f -h

OUTPUT

usage: bitcoin-notification-f [-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

bitcoin-notification-f --d=Yes --i=0.1 --u=10000

This will provide 5 prices of Bitcoin, at the specified time interval according to the code.


TELEGRAM CHANNEL INVITE LINK -


YOU ARE MOST WELCOME! SEE YOU THERE! https://t.me/Bitcoin_alert_attainU_fariya


CONTRIBUTIONS


Updates are always welcome, feel free to drop your suggestions! Looking forward for your contribution. ❤️


python_project's People

Contributors

fariyah23 avatar

Watchers

FARIYA BANU avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.