Skip to content

Peyman2012/Crypto-Price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Crypto-Price

Library needed to get bitcoin price:

pip install pycoingecko

Getting the price from a special api:

 cg = CoinGeckoAPI()

Two currency codes that are used in the ids code for the names of the currencies and vs_currencies for the names of the money.

data = cg.get_price(ids='bitcoin,ethereum',vs_currencies = "usd,eur") #Get dollar and euro bitcoin prices

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published