Skip to content

tenwy/Skygear-Data-Importer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Skygear Data Importer

This importer provides a command line interface for importing CSVs to the Skygear cloud database.

Requirement

Note

  • 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' Skygear

Usage

npm install -g
skygear-data-importer -e 'your-endpoint' -k ' your-apikey' -t 'table-name' 'your-file-path'

Command option

  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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%