CurrencyApp is a simple application that displays the current price of gold and silver in PLN and $.
Additionally, it displays the exchange rate of the dollar, euro, British pound, and Norwegian krone converted to PLN.
The gold-silver ratio is helpful when exchanging silver for gold. The app calculates it and shows it.
I used in my project goldapi.io API (www.goldapi.io). The query according to the documentation should contain the type of the method (GET), the url to the resource we want to receive and the header 'x-access-token', which is our secret api key. As on the picture below.
In response we get JSON as below. Instead of creating a model according to it I used <dynamic> option during deserialization specifying ["price"] because only this property was needed .