The pre-release version of the package can be pulled from GitHub using the remotes package:
# install.packages("remotes")
remotes::install_github("nealrichardson/zendo")
options(
zendesk.email,
zendesk.token, # Or, zendesk.password
zendesk.url
)
Query
get_all_tickets(start_time)
downloads all tickets since a given time (if omitted, returns all)
search_tickets(query)
searches for ticketsget_users()
The repository includes a Makefile to facilitate some common tasks, if you're into that kind of thing.
$ make test
. Requires the testthat package. You can also specify a specific test file or files to run by adding a "file=" argument, like $ make test file=api
. testthat::test_package()
will do a regular-expression pattern match within the file names (ignoring the test-
prefix and the .R
file extension).
$ make doc
. Requires the roxygen2 package.
zendeskR is another Zendesk API client in R. It's not clear that it is actively supported anymore, and it's last CRAN update was in 2014. There is some overlap between what is implemented here and there. zendo
offers support for the incremental export and search APIs, as well as token authentication.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.