Skip to content

apinaut/apiOmat-import-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Import your data from Parse into apiOmat backend.

This script will import your data and schemas from Parse into the backend of apiOmat. See below for an example and a step-by-step guide.

After the script is finished you can start programming against the apiOmat backend. For tutorials see our documentation. A comparsion of the android client code between parse and apiomat can be found here.

Install

  1. Go to SignUp to create a new account on apiOmat. If you already have an account login and create a new app.
  2. Deploy your app to our cloud by pressing the deploy icon.
  3. Copy your 'ApiKey' from the App-Setup in our dashboard. Take also note of the selected system in the left panel (TEST, STAGING or LIVE).
  4. Install pip on your system.
  5. Type 'pip install import-parse-to-apiOmat' on the command line to install the python script into your system.
  6. Go to your Parse dashboard and export your data as zip. For details see this link.
  7. After you received the mail with your data, save them on your harddisk.

Usage

import-parse-to-apiOmat --ifile=<path_to_zipfile> --appName=<appName> --apiKey=<apiKey> --userName=<userName> --password=<password> --system=<usedSystem> --defaultPwd=<default_pw_for_users>

Explanation of parameters:

  • --ifile <path_to_zipfile> Insert here filesystem path to the downloaded zip-file
  • --appName The name of your app in apiOmat system
  • --apiKey The apiKey from the apiOmat system copied in step 3 above
  • --userName Your apiOmat username which you use to login in our dashboard
  • --password Your password which you use to login in our dashboard
  • --system The system (LIVE , STAGING or TEST) where you are going to import your data. (If you have selected the basic plan you can only import into LIVE system)
  • --defaultPwd <default_pw_for_users> Default password for imported users

#Example

import-parse-to-apiOmat  --ifile=9339.zip --appName=ParseImport --apiKey=2234224 --userName=login@apiomat.org --password=12345 --system=LIVE --defaultPwd=12345

Known issues

  • Can't import binary files, this Parse data format will be converted to a String and saves only the URL to the data
  • No support for arrays with mixed types
  • Can't import passwords from existing users. The password for existing users would be resetted to given password, cause we won't decrypt passwords from Parse users
  • actual no support for ACL (coming to apiOmat soon)

Contributing

This is open source. Feel free to modify and enhance this script

About

Import your data from Parse into apiOmat backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published