Skip to content

A cryptocurrency webapp that uses the coinmarketcap API to fetch data. Then allows the user to query data and view metrics

Notifications You must be signed in to change notification settings

Shayan-Raza/Cryptocurrency-data-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Installation

Clone the repo

git clone https://github.com/Shayan-Raza/Cryptocurrency-data-web-app.git

Change to the cloned directory

cd Cryptocurrency-data-web-app 

Run the app with streamlit

streamlit run webapp.py

In your browser enter the address

http://localhost:8501/

Using your api key

Create a file api_key.py

touch api_key.py

Open the file in a text editor

nano api_key.py

Create a variable api with your api key

api="" #key in ""

Use this step to get the latest data. Else I have provided a premade file with dated data.

Sidebar

Sidebar

Functions

Functions that are available in the webapp

Preview

Preview

Refresh data

Refresh data
Upon clicking runs the script data.py which saves an output in Data.csv streamlit then reads the updated data

Setup API Key first

Download CSV

Download CSV Button
Downloads the csv with the dataset preview. Downloads only for the coins selected in the sidebar

About

A cryptocurrency webapp that uses the coinmarketcap API to fetch data. Then allows the user to query data and view metrics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages