{"action":"created","issue":{"url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/52","labels_url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/52/comments","events_url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/52/events","html_url":"https://github.com/theoephraim/node-google-spreadsheet/pull/52","id":104961708,"number":52,"title":"add option to add worksheet","user":{"login":"drorzp","id":4186188,"avatar_url":"https://avatars.githubusercontent.com/u/4186188?v=3","gravatar_id":"","url":"https://api.github.com/users/drorzp","html_url":"https://github.com/drorzp","followers_url":"https://api.github.com/users/drorzp/followers","following_url":"https://api.github.com/users/drorzp/following{/other_user}","gists_url":"https://api.github.com/users/drorzp/gists{/gist_id}","starred_url":"https://api.github.com/users/drorzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drorzp/subscriptions","organizations_url":"https://api.github.com/users/drorzp/orgs","repos_url":"https://api.github.com/users/drorzp/repos","events_url":"https://api.github.com/users/drorzp/events{/privacy}","received_events_url":"https://api.github.com/users/drorzp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-04T20:06:39Z","updated_at":"2015-09-05T20:08:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/pulls/52","html_url":"https://github.com/theoephraim/node-google-spreadsheet/pull/52","diff_url":"https://github.com/theoephraim/node-google-spreadsheet/pull/52.diff","patch_url":"https://github.com/theoephraim/node-google-spreadsheet/pull/52.patch"},"body":"implemented the option to add worksheet:\r\nadded 2 methods:\r\n  this.addWorkSheet = function ( name, data, cb){\r\n    var data_xml='<entry xmlns=\"http://www.w3.org/2005/Atom\" ' +\r\n      'xmlns:gsx=\"http://schemas.google.com/spreadsheets/2006\">' +\r\n      '<title>' + name + '</title><gsx:rowCount>50</gsx:rowCount><gsx:colCount>20</gsx:colCount>' +\r\n      '</entry>';\r\n       self.makeFeedRequest( [\"worksheets\", ss_key], 'POST', data_xml, cb );\r\n  }\r\n\r\n  this.addWorkSheet = function( data, cb ){\r\n    spreadsheet.addWorkSheet( self.id, data, cb );\r\n  }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/comments/137990229","html_url":"https://github.com/theoephraim/node-google-spreadsheet/pull/52#issuecomment-137990229","issue_url":"https://api.github.com/repos/theoephraim/node-google-spreadsheet/issues/52","id":137990229,"user":{"login":"heitortsergent","id":446316,"avatar_url":"https://avatars.githubusercontent.com/u/446316?v=3","gravatar_id":"","url":"https://api.github.com/users/heitortsergent","html_url":"https://github.com/heitortsergent","followers_url":"https://api.github.com/users/heitortsergent/followers","following_url":"https://api.github.com/users/heitortsergent/following{/other_user}","gists_url":"https://api.github.com/users/heitortsergent/gists{/gist_id}","starred_url":"https://api.github.com/users/heitortsergent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heitortsergent/subscriptions","organizations_url":"https://api.github.com/users/heitortsergent/orgs","repos_url":"https://api.github.com/users/heitortsergent/repos","events_url":"https://api.github.com/users/heitortsergent/events{/privacy}","received_events_url":"https://api.github.com/users/heitortsergent/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T20:08:47Z","updated_at":"2015-09-05T20:08:47Z","body":":+1: "}}