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.
- Go to SignUp to create a new account on apiOmat. If you already have an account login and create a new app.
- Deploy your app to our cloud by pressing the deploy icon.
- 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).
- Install pip on your system.
- Type 'pip install import-parse-to-apiOmat' on the command line to install the python script into your system.
- Go to your Parse dashboard and export your data as zip. For details see this link.
- After you received the mail with your data, save them on your harddisk.
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
- 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)
This is open source. Feel free to modify and enhance this script