Skip to content

xinhuang327/ZeGo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Search

  • 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

About

Golang Zendesk API Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%