fetch last value from API instead of average

* Added curl as dependency in README