An open API service indexing awesome lists of open source software.

https://github.com/kamiladd-byte/rates-app

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. Search and write exchange rate with nbp-api (http://api.nbp.pl/).
https://github.com/kamiladd-byte/rates-app

csv-parser java-17 jsoup mbean rest-api vavr

Last synced: over 1 year ago
JSON representation

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. Search and write exchange rate with nbp-api (http://api.nbp.pl/).

Awesome Lists containing this project

README

          

"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:

# 'Rates-App' - java console application

## Currency

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}/

## List of currency codes

- Displaying on the console all currency codes in the form of a list (jsoup was used).

## Value of gold (last 30 quotations)

- 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.

# Technologies used:

- java 17
- jsoup
- nbp-api
- gson (convert json to POJO);
- jackson (create csv file);

# Install and start the program:

1. Download the **rates-app.jar** file from the out/artifacts folder to your computer;
2. Open the terminal of your operating system in the folder where the file was downloaded (file has size about 8 mb);
3. Type in the console the command **java -jar rates-app.jar rates.App** ;
4. Program ready to use.