项目作者: byapparov

项目描述 :
R package for incremental Zendesk API
高级语言: R
项目地址: git://github.com/byapparov/rzendesk.git
创建时间: 2017-02-13T21:42:56Z
项目社区:https://github.com/byapparov/rzendesk

开源协议:

下载


Build Status
codecov.io

rzendesk

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.

  1. # Environment variables required
  2. Sys.setenv(ZENDESK_USER = ...)
  3. Sys.setenv(ZENDESK_PASSWORD = ...)

To extract all users:

  1. # Here test is the subdomain of the zendesk account
  2. users <- zdGetUsers("test", 0)

Supported fields:

  • id
  • email
  • created_at
  • update_at
  • role

To extract all ticktes:

  1. # To extract all tickets for "test" subdomain of the zendesk from the begining:
  2. 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.