Skip to content

Lightweight Python module to get Crypto currency prices

License

Notifications You must be signed in to change notification settings

mdfarhaan/cryptorayX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptorayX

CryptorayX is a Lightweight Python module to get Crypto currency prices

This module uses the WazirX Public API

Usage

The cryptorayX module can be installed using pip

pip install cryptorayX

Import cryptorayX module

from cryptorayX import cryptorayX

Create an Object:

coin = cryptorayX()

Get Price:

Set the Coin and Currency as an argument by calling the price() function.

btc_price = coin.price("BTC", "INR")
print(btc_price)

NOTE: Both the Coin and Currency argument takes in the value in the form of symbol respectively.

Your all up and ready to roll!!

- MdFarhaan