dotnetdeveloperaz / MetalPriceConsole

Simple console application to get the closing price of gold, silver, palladium or platinum for the previous day. Can be scheduled to run daily or used manually..
0 stars 0 forks source link

Implement Other Precious Metals #32

Closed dotnetdeveloperaz closed 11 months ago

dotnetdeveloperaz commented 1 year ago

Need to implement support for retrieving Platinum and Palladium. The code will work as it is, just need to add the commands for each, and to implement the URL API calls.

dotnetdeveloperaz commented 1 year ago

Added the code for Palladium and Platinum. However, the third party API does not support specifying date(s) even though their documentation shows it should. Specifying a date returns no results, as does their api docs that invoked the call. I have sent an email inquiring about why this is, as it should work exactly the same as Gold and Silver.

dotnetdeveloperaz commented 1 year ago

Got a response from one of the developers. Historical isn't currently supported, but they are looking at adding it in the future. This may actually come sooner than later.

dotnetdeveloperaz commented 11 months ago

This is complete but the API still doesn't support historical data so it will only get the last close price. Need to test this further, but as far as this issue goes, it's complete.