Skip to content

LouisKlimek/Scrap-Gold-Prices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Scrap Gold Prices

Get Prices of various Gold Purity's from Gold.de

Table of Contents

About The Project

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

Getting Started

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!

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

ToDo

If you decide that you want to help out, here is a little List of things that need to be done.

  1. Add support for other currencies
  2. Add support for other units (e.g. ounce, kilogram)

License

Distributed under the Apache License 2.0. See LICENSE for more information.

About

Get Prices of various Gold Purity's from Gold.de

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages