Skip to content

Commit 9083ee1

Browse files
committed
Added readme
1 parent 2c1c333 commit 9083ee1

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Python/bitcoin-price/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Script to get current bitcoin price
2+
- - - - - - - - - - - -
3+
## Aim
4+
Aim of the script is to get the current price of bitcoin using python.
5+
6+
## Approach
7+
The approach followed here is the use of bs4 for scraping. We open the coinmarketcap current price page, locate the div and extract the span element containing the price.</br>
8+
9+
## Requirements
10+
11+
```pip install bs4```</br>
12+
13+
```pip install requests```</br>
14+
15+
## To run
16+
17+
```python current_price.py```

Python/bitcoin-price/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
beautifulsoup4==4.9.1
3+
requests==2.24.0

0 commit comments

Comments
 (0)