Skip to content

Instantly share code, notes, and snippets.

@philippkeller
Created February 14, 2014 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philippkeller/9010357 to your computer and use it in GitHub Desktop.
Save philippkeller/9010357 to your computer and use it in GitHub Desktop.
Proxy for Google Spreadsheets
var url = "https://spreadsheets.google.com/feeds/list/.../od6/public/values";
// need to proxy via YQL because of strange "session timeout" issue
// that is strangely not really documented on the web
$.getJSON("http://query.yahooapis.com/v1/public/yql", {q: "select * from xml where url='"+url+"'", format: "json"}).success(function(data) {
var data = data.query.results.feed.entry;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment