{"action":"opened","issue":{"url":"https://api.github.com/repos/samcday/node-google-spreadsheets/issues/33","labels_url":"https://api.github.com/repos/samcday/node-google-spreadsheets/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/samcday/node-google-spreadsheets/issues/33/comments","events_url":"https://api.github.com/repos/samcday/node-google-spreadsheets/issues/33/events","html_url":"https://github.com/samcday/node-google-spreadsheets/issues/33","id":109704773,"number":33,"title":"\"Worksheet not specified\" error when passing worksheet index 0","user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-04T21:08:42Z","updated_at":"2015-10-04T21:08:42Z","closed_at":null,"body":"```sh\r\n$ cat gsheet.js\r\n#!/usr/bin/env node\r\n\r\nvar GoogleSpreadsheets = require(\"google-spreadsheets\");\r\n\r\nvar key = process.argv[2];\r\nvar range = process.argv[3];\r\n\r\nGoogleSpreadsheets.cells(\r\n      {\r\n        key: key,\r\n        worksheet: 0,\r\n        range: range\r\n      },\r\n      function(err, cells) {\r\n        console.log(\"cells:\", err, cells);\r\n      }\r\n);\r\n$ gsheet.js 1Bb-SLy4E-alUUSJ68Qb5nNmZG6HsPbG2j6Ye_QZO77Y A1:A3\r\n/Users/ryan/node_modules/google-spreadsheets/lib/spreadsheets.js:258\r\n    throw new Error(\"Worksheet not specified.\");\r\n    ^\r\n\r\nError: Worksheet not specified.\r\n    at Function.Spreadsheets.cells (/Users/ryan/node_modules/google-spreadsheets/lib/spreadsheets.js:258:11)\r\n    at Object.<anonymous> (/Users/ryan/s/js-helpers/gsheet.js:8:20)\r\n    at Module._compile (module.js:434:26)\r\n    at Object.Module._extensions..js (module.js:452:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:475:10)\r\n    at startup (node.js:117:18)\r\n    at node.js:951:3\r\n```\r\n\r\nTrying to load range `A1:A3` from [this sheet](https://docs.google.com/spreadsheets/d/1Bb-SLy4E-alUUSJ68Qb5nNmZG6HsPbG2j6Ye_QZO77Y/edit#gid=0)."}}