keen / keen-analysis.js

A light JavaScript client for Keen
https://keen.io/docs/compute/
MIT License
40 stars 15 forks source link

additional params in GET request #65

Open adamkasprowicz opened 5 years ago

adamkasprowicz commented 5 years ago

eg https://keen.io/docs/api/?javascript#inspect-all-collections

client
  .get({
    url: client.url('events'),
    api_key: client.readKey(),
    include_schema: false
  })
  .then(res => {
    // Handle response
  })
  .catch(err => {
    // Handle error
  });

the code above doesn't work as expected -include_schema is not included in the request.