This importer provides a command line interface for importing CSVs to the Skygear cloud database.
- Use comma-separated CSV
- The first row of the CSV will be the column name of table in the database. Example:
Item,Link,Type Aarhus,http://www.odaa.dk/,International Regional Alabama,http://open.alabama.gov/,US State Alberta,http://data.alberta.ca/,International Regional Albuquerque,http://www.cabq.gov/abq-data/,US City or County
- Before you import the CSV, make sure your Skygear app is 'Running'
npm install -g
skygear-data-importer -e 'your-endpoint' -k ' your-apikey' -t 'table-name' 'your-file-path'
Usage: skygear-data-importer [options] <file>
Options:
-e, --endpoint <endpoint> Skygear endpoint
-k, --apikey <apikey> Skygear Master Key
-t, --table <table> Desired Table Name to upload
-h, --help output usage information