var Keen = require('keen-tracking');
var extend = require('keen-tracking/lib/utils/extend');

// Accessor methods

function readKey(str){
  if (!arguments.length) return this.config.readKey;
  this.config.readKey = (str ? String(str) : null);
  return this;
}

function queryPath(str){
  if (!arguments.length) return this.config.readPath;
  if (!this.projectId()) {
    this.emit('error', 'Keen is missing a projectId property');
    return;
  }
  this.config.readPath = (str ? String(str) : ('/3.0/projects/' + this.projectId() + '/queries'));
  return this;
}

// Query method

function query(){}

// HTTP methods

function get(){}

function post(){}

function put(){}

function del(){}

// Extend client instance

extend(Keen.prototype, {
  'readKey'   : readKey,
  'queryPath' : queryPath,
  'query'     : query,
  'get'       : get,
  'post'      : post,
  'put'       : put,
  'del'       : del
});

module.exports = Keen;

@@ -208,17 +208,16 @@
 adKey = 
-(
 str ? St
@@ -232,17 +232,16 @@
 ) : null
-)
 ;%0A  retu
@@ -317,28 +317,29 @@
 this.config.
-read
+query
 Path;%0A  if (
@@ -457,20 +457,20 @@
 fig.
-read
+query
 Path = 
-(
 str 
@@ -535,17 +535,16 @@
 ueries')
-)
 ;%0A  retu
@@ -897,13 +897,92 @@
 del%0A
-
 %7D);%0A%0A
+// console.log(new Keen(%7B projectId: '123' %7D).queryPath('test').queryPath());%0A%0A
 modu

Clean up method names and internals