A Python package to get bitcoin updates and predictions
Project description
BitCoin Notifier:
Working Procedure:
Installation Following command on terminal will install bitcoin_karishma package/module from PIP
pip3 install bitcoin_karishma Following command on terminal will install the latest bitcoin_karishma package/module from PIP
pip3 install -U bitcoin_karishma
Usage
Following query on terminal will provide you with all the help options available
Input :
bitcoin-notifier -h
Output :
usage: bitcoin-notifier [-h] [-i interval] [-t threshold] Bitcoin Notifier optional arguments: -h, --help show this help message and exit -i interval, --interval interval Time interval in minutes -t threshold, --threshold threshold Threshold in USD Following query on terminal will provide you five prices of Bitcoin at a time at one min interval and whenever it falls below $10000 and emergency notification will be sent.
bitcoin-notifier -i 1 -t 10000
Un-installation:
Following command on terminal will uninstall bitcoin-notifier package/module from your device
pip3 uninstall bitcoin_karishma
• The Project is divided into four functions/modules:
get_latest_price() – Here I have used request module to collect data from source(‘blockchain.com’), Once it gets data it will convert the data into json format which is returned back to the function.
post_ifttt_webhook() – Here the formatted data is sent to users as notifications once it acquires data from previous module.
format_bitcoin_history() - The main objective of this module is to format the notification message which will be sent to users.
main() – Here it will integrate all the steps and sets up timer to repeat the process at certain intervals.
• IFTTT Applets:
Webhooks, Telegram, Notifications, Email and Android SMS services are used here.
When an event 'bitcoin_price_emergency is occurred in the webhooks it will send the event value to Notification in your phone and an email is sent to the email listed in the service.
When and event 'bitcoin_price_update is occurred in the webhooks it will send the event value to the Telegram Channel 'Bitcoin Notifier' and text message to the phone number linked to the service.
Credentials: Webhooks Key- eA_ZN_ZsBcX4FZmsgzdc_7_yppNdLzDCWsJaoAz65Ci
Telegram Channel Link- (@bitcoin_notifier)https://t.me/Bitcoin_update_21
Email linked to the service- karishmaag21@gmail.com
Phone Number linked to the service- +917738222219
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 bitcoin_karishma-1.1.1.tar.gz
.
File metadata
- Download URL: bitcoin_karishma-1.1.1.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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc63ccc8e7a072d4cba77eea027171e90737faa4fa3d4a8c44abbcb25c3e1df3 |
|
MD5 | 9e4f36c17ee8201bcc1ddcb5038e79fa |
|
BLAKE2b-256 | 254db159cf749cfcba8b3355906a33528ffd4bca6669909463efd051911d51e9 |
File details
Details for the file bitcoin_karishma-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: bitcoin_karishma-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 913d0ff95bc3cd0daf1fb6c737c0bc14137bc56ce708300ae05aa5f025c67808 |
|
MD5 | c115e54f0ac8d87edf6e6db5c06f3465 |
|
BLAKE2b-256 | 9427f23b81a7d042c8ea75e58468ce4af1ec2f78fec9712c97de8ce016add25c |