Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 585 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 585 Bytes

GSpreadSheetReader

This JS class intends to provide a simple google spreadsheet reader.

Example:

<script src="GSpreadSheetReader.js"></script>
<script type="text/javascript">
    function callBackSP (sp) {
        //Get the cell number from the given tab.
        var cell = sp.getCell(1,1);
        document.getElementById("data").textContent = cell; 
    }
    //Change the key id in the second parameter and the tab number "1".
    var sp = new GSpreadSheetReader("test1","1IjTQPoTivCpeGkUrvmBBdUUZGOXv_FfzRfKW_BUD8kA", "1", callBackSP);
    sp.loadScript();
</script>