tether-price

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


Keywords
Tether, price, to, RIAL, IRR
License
MIT
Install
pip install tether-price==0.0.3

Documentation

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