Exercise to fetch data from an API and manipulate its data, to run you can:
- Download jar file at
/out
: bench.jar - Run on terminal
java -jar bench.jar
or
- Clone this repository
git clone git@github.com:richardscheid/bench.git
- Run on terminal
./gradlew clean build
&./gradlew run
To run tests:
./gradlew test
Final result is:
Date | Balance |
---|---|
2013-12-12 | -227.35 |
2013-12-13 | -1456.93 |
2013-12-15 | -1462.32 |
2013-12-16 | -6037.85 |
2013-12-17 | 4648.43 |
2013-12-18 | 2807.14 |
2013-12-19 | 22560.45 |
2013-12-20 | 18505.85 |
2013-12-21 | 18487.87 |
2013-12-22 | 18377.16 |