Help us shape the future of Go! Take the 2026 Go Developer Survey

zego

module
v0.0.0-...-b589971 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2018 License: MIT

README

ZeGo: Zendesk API wrapper for Golang

Zendesk Logo

About:

A (hopefully) simple library for interfacing with the Zendesk v2 API

This library is in flux, so please use Godeps (or similar).

Usage:

auth := zego.Auth{"username", "password", "subdomain.zendesk.com"}
response, _ := auth.ListTickets()
tickets := &zego.TicketArray{}
json.Unmarshal([]byte(response.Raw), tickets)

Endpoints Implemented

Users
  • GET /api/v2/users.json

  • GET /users/{id}.json

  • GET /users/{id}/related.json

Tickets
  • GET /api/v2/tickets.json

  • DELETE /api/v2/tickets/{id}.json

  • GET /api/v2/search.json?query={search_string}
Organizations
  • GET /api/v2/organizations.json

  • GET /api/v2/users/{user_id}/organizations.json

Views
  • GET /api/v2/views.json

  • GET /api/v2/active/views.json

  • GET /api/v2/views/compact.json

  • GET `/api/v2/views/{id}.json

Macros
  • GET /api/v2/macros.json
Triggers
  • GET /api/v2/triggers/active.json
Satisfaction
  • GET /api/v2/satisfaction_ratings.json

  • GET /api/v2/satisfaction_ratings/{id}.json

Tags
  • GET /api/v2/tickets/{id}/tags.json

  • GET /api/v2/topics/{id}/tags.json

  • GET /api/v2/organizations/{id}/tags.json

Groups
  • GET /api/v2/groups.json

  • GET /api/v2/users/{user_id}/groups.json

  • GET /api/v2/groups/assignable.json

  • GET /api/v2/groups/{id}.json

Incremental
  • GET /api/v2/incremental/tickets.json
Comments
  • GET /api/v2/tickets/{ticket_id}/comments.json

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL