keenlabs / KeenClient-Java

Official Java client for the Keen IO API. Build analytics features directly into your Java apps.
https://keen.io/docs
MIT License
74 stars 43 forks source link

Can't get data from a given Collection using the SDK #16

Closed facundofarias closed 7 years ago

facundofarias commented 10 years ago

I know I can write unit tests with some proper mocking framework (such as Mockito), and mock your SDK, and in this way check if the events are being saved on Keen. But, it would be good also to have some API to retrieve data from a given collection, just in case I want to get data, and check if it was written correctly (I mean, some kind of integration tests).

I know that I can use the REST API to do a query, but I have to build everything by hand, it would be nice to have it on the SDK instead. Just an idea.

facundofarias commented 10 years ago

I guess, because of that was this comment: To Do: Support analysis APIs.

joshed-io commented 10 years ago

Hi Facundo, I totally agree with you. We'd love to have support for the querying API within the Java SDK, just haven't gotten around to adding it yet. It'd be nice both for general use and for integration tests as well (the Ruby SDK has a set of end-to-end specs).

Is this something you'd be interested in adding? I'd be happy to answer questions or give direction :)

Geeber commented 7 years ago

This has been addressed with the addition of the query client.