Skip to main content

tool to get crypto price notification

Project description

cryptoprice-notifier

Bitcoin

This is a python script that notify crypto currency price regularly on email, telegram, and IFTTT app notifications. It provide a response after a certain time interval which you can specify. By default time interval and threshold price is set to 5 in minutes and Rs.1000000 respectively. The user has option to choose Where he want to recieve updates.

DESCRIPTION

Crypto Currency price is very flactuating. So why not be get updated regulary and instead of checking the price , this package will make sure you get notified of the Price Change On time.

  • We Have Implemented Price + News Notifications of crypto currency.
  • And Also To make sure that you get High Priority alert if price reach a certain lower level we have integrated email service which will send a email to you once price goes above the threshold price
  • Our Python Package will make an HTTP request to the webhook URL which will trigger an action.
  • We Getting The Price Update From coinmarketcap API and news updates from NEWS API

Project Overview:

• This Project will send notification of bitcoin latest price for every one hour. • The notifications will be sent to telegram channel “AttainU Bitcoin IFTTT”. • The channel is global and anyone can access the channel and get regular updates of bitcoin prices.

Features:

• Anyone with the link can join and chat along the channel. • Will Update news over twitter handle • And also if the price is greater than the threshold price it will send a notification on email

Working Procedure:

• The Project is Divided into Four Functions:

  • Get data Module

  • Format Date Module

  • Send Data to IFTTT

  • Main Module

  • Get data Module – Here I have used request module to collect data from source(‘coinmarketcap'), Once it gets data it will convert the data into json format which is returned back to the function.

  • Format Data Module – The main objective of this module is to format the notification message which will be sent to users.

  • Send Data to IFTTT – Here the formatted data is sent to users as notifications once it acquires data from previous module.

  • Main – Here it will ask for the All the user agruments and send a Module call accordingly.

IFTTT Applets:

  • Webhooks and Telegram & Twitter services are used here.
  • When an event is occurred in the webhooks it will send the event value to telegram
  • And Also A news Update Is being sent to twitter

Prerequisite

Installation

Install cryptoprice-notifier package using PIP,

pip install cryptoprice-notifier 

For Help Menu

cryptonotifier --help

you will see a Response like this


usage: cryptonotifier [-h] [-a alert_price] [-t time_interval]
               [-l resp_limit resp_limit] [-c coin] [-d destination]
               [-cur curr]

Crypto Price Notify App.

optional arguments:
  -h, --help            show this help message and exit
  -a alert_price, --alert_price alert_price
                        threshold price of coin, default is ₹1000000
  -t time_interval, --time_interval time_interval
                        interval between entries, default is 60 min
  -l resp_limit resp_limit, --resp_limit resp_limit resp_limit
                        No. Of record and time gap between record in Single
                        Response, default 5record and 20sec time gap
  -c coin, --coin coin  For Selecting a Crypto Coin : -c btc/xrp/eth
  -d destination, --destination destination
                        Select a Destination : -d telegram/ifttt
  -cur curr, --currency curr
                        For Selecting a Currency : -cur INR/USD/GBP/EUR

Welcome To crypto price notify app by Anurag Gothi


to run the app type the following command

cryptonotifier -a 250 -t 60 -l 5 20 -d telegram -c eth -cur USD
  • -a : alert limt amount in CURRENCY YOU SELECT
  • -t : time interval in Seconds
  • -l : No of entries and timegap between entries per response
  • -d : For destination app like IFTTT App / Telegram
  • -c : For crypto currency Like ETH/BTC/XRP
  • -cur : For selecting a currency INR/USD/GBP/EUR
Author: Anurag Gothi.

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

cryptoprice-notifier-2.1.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file cryptoprice-notifier-2.1.tar.gz.

File metadata

  • Download URL: cryptoprice-notifier-2.1.tar.gz
  • Upload date:
  • Size: 7.0 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.46.1 CPython/3.6.9

File hashes

Hashes for cryptoprice-notifier-2.1.tar.gz
Algorithm Hash digest
SHA256 779eb49e13f0f48370d9a0365f2133eed33d9c017da1ec37d6b928fb5f54829f
MD5 b9d0264a5002934ae3ecda3adff1393d
BLAKE2b-256 d7e1fbf9968f97741e1ac484b628b75ed49f33dc3285e02854ed2c964cab22e6

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