Skip to content

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

Notifications You must be signed in to change notification settings

KamilAdd-Byte/rates-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy