Skip to main content

A small project for bitcoin price notifications

Project description

Example Package

This is a simple example package. You can use Github-flavored Markdown to write your content.

BitCoin Notifier:

Bitcoin

Bitcoin emerged out of the 2008 global economic crisis when big banks were caught misusing borrowers' money, manipulating the system, and charging exorbitant fees. To address such issues, Bitcoin creators wanted to put the owners of bitcoins in-charge of the transactions, eliminate the middleman, cut high interest rates and transaction fees, and make transactions transparent. They created a distributed network system, where people could control their funds in a transparent way. Bitcoin has grown rapidly and spread far in a relatively short period of time. Across the world, companies from a large jewellery chain in the US, to a private hospital in Poland, accept bitcoin currency. Multi-billion-dollar corporations such as Dell, PayPal, Microsoft, Expedia, etc., are dealing in bitcoins. Websites promote bitcoins, magazines are publishing bitcoin news, and forums are discussing cryptocurrencies and trading in bitcoins. Bitcoin has its own Application Programming Interface (API), price index, trading exchanges and exchange rate. However, there are issues with bitcoins such as hackers breaking into accounts, high volatility of bitcoins, and long transaction delays. Elsewhere, particularly people in third world countries find Bitcoins as a reliable channel for transacting money bypassing pesky intermediaries.

IFTTT

What is IFTTT? If This Then That, also known as IFTTT is a freeware web-based service that creates chains of simple conditional statements, called applets. An applet is triggered by changes that occur within other web services such as Gmail, Facebook, Telegram, Instagram, or Pinterest. What is Telegram?

Telegram

Telegram is a cloud-based instant messaging and voice over IP service. Telegram client apps are available for Android, iOS, Windows Phone, Windows NT, macOS and Linux. Users can send messages and exchange photos, videos, stickers, audio and files of any type. Telegram's client-side code is open-source software but the source code for recent versions is not always immediately published, whereas its server-side code is closed-source and proprietary. The service also provides APIs to independent developers. In March 2018, Telegram stated that it had 200 million monthly active users. Default messages and media in Telegram are encrypted when stored on its servers, but can be accessed by the Telegram service provider, who holds the encryption keys. In addition Telegram provides optional end-to-end encrypted "secret" chats between two online users, yet not for groups or channels. The client-server communication is also encrypted. The service provides end-to-end encryption for voice calls.

Project Overview: • This Project will send notification of bitcoin latest price.

• The notifications will be sent to telegram channel “Bitcoin_update.

• The channel is global and anyone can access the channel and get regular updates of bitcoin prices.

Features: • Notifications are sent when price is increased from threshold value on your.

• General notifications of price updates occur on Telegram channel "Bicoin_update". Anyone with the link can join and chat along the channel.

• General notifications are also sent as a text message to numbers linked with the service.

Working Procedure: • Project has been made into a package. The package can be installed with the bellow command

 pip install Bitcoin-notifications-karishma-agarwal-21

• 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_notifier

 Email linked to the service- karishmaag21@gmail.com

 Phone Number linked to the service- +917738222219

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

Built Distribution

File details

Details for the file Bitcoin_notifications-karishma-agarwal-21-0.0.5.tar.gz.

File metadata

  • Download URL: Bitcoin_notifications-karishma-agarwal-21-0.0.5.tar.gz
  • Upload date:
  • Size: 4.8 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

Hashes for Bitcoin_notifications-karishma-agarwal-21-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ddd5c9183f6c1f64d2b9ba85336690271465f34138c020a7bf74417a774a8e83
MD5 130c89473383017e6f41f0dcf459f57b
BLAKE2b-256 0b1418008dd81eb34769dd963d62604f28806d3fd891ea2ada181876bf0bc04c

See more details on using hashes here.

File details

Details for the file Bitcoin_notifications_karishma_agarwal_21-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for Bitcoin_notifications_karishma_agarwal_21-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c1208628c0acf1598871f1294d140a2bd46bada02cc0402a87b378e4e0d32e2d
MD5 3534f0592b0a235c9c55e812cb3504f3
BLAKE2b-256 87f535575eb214e01874f95b9adea52cfcd927346a0a62d1bf3157c807a04b17

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