keenlabs / KeenClient-PHP

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

Add documentation for caching a query #92

Closed josephwegner closed 7 years ago

josephwegner commented 7 years ago

A cached query is a saved query with a refresh_rate set, you can see more about them here: https://keen.io/docs/api/#creating-a-cached-query

It would be useful to add documentation for how to create a cached query near the section about Saved Queries.

dongido001 commented 7 years ago

Hi @josephwegner , is this issue still available?

tbarn commented 7 years ago

Hey @dongido001! Feel free to ping me instead. It is still available.

dongido001 commented 7 years ago

@tbarn great!, what do I need to get started, I have tested the endpoint locally with the sdk

tbarn commented 7 years ago

Great start! @dongido001

You will need to write an example similar to what is in this section on how to create a Cached Query. You will also add it to that section.

If you need a bit more help with the example, the API reference might give you some ideas on what your example could be.

dongido001 commented 7 years ago

Thanks @tbarn

That should help. I'm on this!

dongido001 commented 7 years ago

@tbarn #126

tbarn commented 7 years ago

Looks like a typo, I'll get that fixed! Thanks for pointing it out.