https://github.com/mtsokol/forexbrowser
Console browser for BNP API
https://github.com/mtsokol/forexbrowser
api-client argument-parsing builder-pattern java oop
Last synced: 18 days ago
JSON representation
Console browser for BNP API
- Host: GitHub
- URL: https://github.com/mtsokol/forexbrowser
- Owner: mtsokol
- Created: 2017-12-13T13:43:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T18:53:43.000Z (over 8 years ago)
- Last Synced: 2025-11-30T23:49:09.304Z (7 months ago)
- Topics: api-client, argument-parsing, builder-pattern, java, oop
- Language: Java
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ForexBrowser
Project for "Object Oriented Programming" course on "AGH - University of Science and Technology" in Cracow.
## How it works
ForexBrowser sends requests to BNP API and computes given data in a way of given arguments.
### Concept diagram
Diagram shows relations between abstract concepts. It isn't made in any UML standard.

TableBuilder as builder design pattern.

## How to use
### Build jar:
Build jar by building artifact in Intellij IDEA / Eclipse
### Install autocomplete:
Only for temporary installation. Enables console autocomplete.
```sh
alias forex-browser='java -jar ForexBrowser/out/artifacts/ForexBrowser_jar/ForexBrowser.jar'
java -cp "ForexBrowser.jar" picocli.AutoComplete -n forex-browser com.oop.browser.Main
. forex-browser_completion
source ~/.bashrc
```
## External links
- [NBP API](http://api.nbp.pl/)
- [Picocli](http://picocli.info/)