How to use Google Script to pull data from YQL in a spreadsheet

Here are few simple steps to pull data in an spreadsheet using google scripts.

Step-1 Create a Google Spreadsheet here
Step-2 Create a new blank script
Step-3 Paste the code from here
Step-4 Save and run the script

Here is the video