Package provides easy access to data in Zendesk via incremental API.
To use the package you will need to set environment variables with admin zendesk user and password.
# Environment variables required
Sys.setenv(ZENDESK_USER = ...)
Sys.setenv(ZENDESK_PASSWORD = ...)
To extract all users:
# Here test is the subdomain of the zendesk account
users <- zdGetUsers("test", 0)
Supported fields:
- id
- created_at
- update_at
- role
To extract all ticktes:
# To extract all tickets for "test" subdomain of the zendesk from the begining:
tickets <- zdGetTickets("test", 0)
Supported fields:
- id
- create_at
- updated_at
- type
- status
- subject
Use updated_at
from the results to store increment as POSIX datetime.