README.md

zohor

Zoho creator API with R

Example (look to repo cv/03_download_zoho.R)

:


#define parameters of app -------------------------------------------------------
app <- "cv"
report <- "All_Projects"

refresh_token = "..."

#refresh zoho token --------------------------------------------------------------
new_token <- zohor::refresh_token(
  base_url = "https://accounts.zoho.com",
  client_id = "..",
  client_secret = "..",
  refresh_token = refresh_token
)





#download data -----------------------------------------------------------------
projects <-zohor::get_report(url_app = "https://creator.zoho.com" ,
                  account_owner_name = ".." ,
                  app_link_name = "..",
                  report_link_name = "All_Projects",
                  access_token = new_token,
                  criteria = "ID != 0",
                  from = 1)

#download bulk (see test.R in zohor)
invoices <- get_report_bulk(url_app = "https://creator.zoho.com" ,
                      account_owner_name = ".." ,
                      app_link_name = "..",
                      report_link_name = "All_Projects",
                      access_token = new_token,
                      criteria = "ID != 0",
                      from = 1,
                      client_id = client_id,
                      client_secret = client_secret,
                      refresh_token = refresh_token)



To do:

Describe what each function does

Instruction for owner of the app

How does the API works?



araupontones/zohor documentation built on Dec. 19, 2021, 4:35 a.m.