"Console application based on REST API services. Uses nbp-api (http://api.nbp.pl/) to retrieve data on the last 30 gold quotes and currency values including table code, currency code and date."
Detailed description in Polish:
You can set:
type of table (A,B,C);
currency code(e.g. EUR - euro);
and date (dates from Monday to Friday).
http://api.nbp.pl/api/exchangerates/rates/{table}/code}/{date}/
- Displaying on the console all currency codes in the form of a list (jsoup was used).
- displaying on the console the last 30 gold quotations (1g in 1000 gold sample);
- Possibility to display or save to a separate csv file, which you can name yourself.
- java 17
- jsoup
- nbp-api
- gson (convert json to POJO);
- jackson (create csv file);
- Download the rates-app.jar file from the out/artifacts folder to your computer;
- Open the terminal of your operating system in the folder where the file was downloaded (file has size about 8 mb);
- Type in the console the command java -jar rates-app.jar rates.App ;
- Program ready to use.