I inherited maintaining a site that uses the Miso Project to read data from a google spreadsheet. However, it currently isn't connecting. It seems the Miso Project documentation page is no longer up. Does anyone have a copy of the documentation or suggestions for what might be going wrong?
The code for the site worked about a year ago, but I had to recreate the sheet that is accessing.
Here are some facts/things I have tried:
- I am including a locally saved copy of miso.ds.deps.min.0.4.1.js
- I set sheet's permission is viewable to anyone with the link
- I tried changing the worksheet parameter from "1" to "Sheet1"
Using the following code, the error is always thrown.
var ds = new Miso.Dataset({
key: "1wHow46zTuzCA7veIUnq7K2GU5O3VHzuYsuvW2KocWBQ",
worksheet : "1",
importer: Miso.Dataset.Importers.GoogleSpreadsheet,
parser : Miso.Dataset.Parsers.GoogleSpreadsheet
});
ds.fetch({
success : function() {
... do stuff to the data...
},
error : function() {
// error callback
console.log("Error in reading data!");
}
});