Import Google Spreadsheet data into your website with ease.
- Download and extract the contents of the dist folder into yor website directory.
- Include the necessary files in the html
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.5/angular.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.5/angular-filter.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tabletop.js/1.4.2/tabletop.min.js"></script>
<script src="../dist/spreadsheet.js"></script>
<script src="../dist/config.js"></script>
- Open the config.js file and change the spreadsheet id.
- Open your spreadsheet and go to File > Publish on the web. Then make sure "Whole document" is checked and click the Publish button.
- See the demo sheet (https://docs.google.com/spreadsheets/d/13SVee7vyZ1xoxhrQCosEn1QvQ-bhbn1zubZZWS-EkmI/edit#gid=2018434422) to see how to configure your columns.
Check the examples/
folder to see two sample apps using the Catalogs API:
cards.html
: Simple cards with videos, images, and text.cards_with_filters.html
: Cards with videos, text, and filtering options.
Clone the repository, use node and bower to install the dependencies and then initialize grunt.
$ git clone https://github.com/voxarlabs/catalogs-api.git
$ cd catalogs-api
$ npm install
$ bower install
$ grunt watch