Get Prices of various Gold Purity's from Gold.de
This is just a Simple Python Class to get Gold Prices from Gold.de. It currently only supports Euro and Gramms!
Logo made by photo3idea_studio from www.flaticon.com
To get a gold price, just call the getGoldPrice() function with the Attributes you want. See following Code:
#getGoldPrice(karat, currency, unitOfMeasurement)
getGoldPrice("24k", "EUR", "gramm") #Returns the Price of Pure (999) Gold in Euro as a Float
getGoldPrice("333", "EUR", "gramm") #Returns the Price of 8 Karat (333) Gold in Euro as a Float
Note that there is currently only support for Euro and Grams!
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you decide that you want to help out, here is a little List of things that need to be done.
- Add support for other currencies
- Add support for other units (e.g. ounce, kilogram)
Distributed under the Apache License 2.0. See LICENSE
for more information.