irufus / gdax-java

Java based wrapper for Coinbase Pro (Formerly known as GDAX API and Coinbase Exchange API)
MIT License
177 stars 131 forks source link

Paged requests could be implemented better #15

Open robevansuk opened 7 years ago

robevansuk commented 7 years ago

I believe paged requests could be better implemented by overloading the GdaxExchange.get(...) method and providing an interceptor that updates the request headers. This would clean up a lot of the boilerplate and make transitioning between either method more seamless.