Skip to content

Commit

Permalink
.gitignore. pedantic semicolon. basic example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
samcday committed Feb 9, 2013
1 parent ed0b452 commit edde04e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
11 changes: 11 additions & 0 deletions examples/unauthenticated.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var GoogleSpreadsheets = require("google-spreadsheets");

GoogleSpreadsheets({
key: "0ApDvWFF4RPZBdEFucnJya1hxVG9wZzhJQWZUWkpfekE"
}, function(err, spreadsheet) {
spreadsheet.worksheets[0].cells({
range: "R1C1:R1C2"
}, function(err, result) {
console.log(result.cells[1][1].value + result.cells[1][2].value);
});
});
2 changes: 1 addition & 1 deletion lib/spreadsheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var forceArray = function(val) {
}

return [val];
}
};

var getFeed = function(params, auth, query, cb) {
var headers = {};
Expand Down

0 comments on commit edde04e

Please sign in to comment.