Skip to content

iAliF/Tether-Price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tether Price

Tether price is a library that helps you to get the Tether price from various websites.

How To Install

You can use the following command to install it.

pip install tether-price

Getting Started

from tether import SourceManager
from tether.sources import *

manager = SourceManager()
manager.add(Bitbarg())
manager.add(ArzPaya())
manager.add(Wallex())
manager.add(Hamtapay())

if __name__ == '__main__':
    prices_list = manager.get_prices_list()
    for price in prices_list.prices:
        print(f'{price.source} | Buy: {price.buy} | Sell: {price.sell}')

License

MIT