This function is a simple wrapper of leancloud RESTful API to retrieve a value or a object from leancloud database.
1 | get_obj(web, query, ID, KEY, returnjs = T)
|
web |
Character. Your leancloud database RESTFUL API. You can find it in leancloud website-console-setting-app keys |
query |
Character. The name of the object that you want to retrieve |
ID |
AppID. Character. You can find it in leancloud website-console-setting-app keys |
KEY |
AppKey. Character. You can find it in leancloud website-console-setting-app keys |
returnjs |
Boolean.This paradigm indicate whether return a js_data object for further data extraction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.