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/).
- Host: GitHub
- URL: https://github.com/kamiladd-byte/rates-app
- Owner: KamilAdd-Byte
- Created: 2023-04-05T15:36:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-26T11:37:35.000Z (about 3 years ago)
- Last Synced: 2025-01-14T03:43:41.461Z (over 1 year ago)
- Topics: csv-parser, java-17, jsoup, mbean, rest-api, vavr
- Language: Java
- Homepage:
- Size: 23.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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.