title: Trying to read cell 1,1 in spreadsheet using Google Script API
body: <p>I'm a mildly experienced programmer ... I have an OK understanding of OOP concepts, I've been using <code>PHP</code> and <code>MySQL</code> lately. I've started to dabble with Google API Scripts. I'm trying to write a very simple program to read cell 1,1 in a google spreadsheet. The API is NOT embedded in the google spreadsheet, I need it to run outside of the SS. </p>
  
  <p>Here is the code in question:</p>
  
  <pre><code>function email() {
  
  // Opens SS by its ID
  
  var ss = SpreadsheetApp.openById("0AgJjDgtUl5KddE5rR01NSFcxYTRnUHBCQ0stTXNMenc");
  
  // Get the name of this SS
  
  var name = ss.getName();
  </code></pre>
  
  <p>Read cell 1,1 <strong>* Line below doesn't work *</strong></p>
  
  <pre><code>var data = Range.getCell(0, 0);
  </code></pre>
  
  <p>I understand that <code>getCell()</code> is a method within the Range class. From what I can see in the resources, it looks like Range is the top / parent / super class. Looking at the bold code above, I believe I have created a Range object and trying to call a method from that object. What am I doing wrong here?? </p>
  
  <p>Thanks for looking! </p>