kenken999's picture
teste
b1ce64c
raw
history blame
388 Bytes
from models.gold_price import GoldPrice
from services.gold_price_api import GoldPriceAPI
from utils.currency_converter import CurrencyConverter
def main():
gold_price_api = GoldPriceAPI()
gold_price_data = gold_price_api.get_gold_price()
gold_price = GoldPrice(**gold_price_data)
print(f"Today's gold price: {gold_price.price} JPY")
if __name__ == "__main__":
main()