API Wrapper for Zendesk in golang (Still work in progress)
All the function are implemented by the Access struct.
- GetUser()
- CreateUser()
- ChangePassword()
- GetTicket()
- ListTickets()
- ListTicketsByExternalID()
- ListTicketsByID()
- DeleteTicket()
go get github.com/satyamjain28/go-zen/pkg
package main
import (
"github.com/satyamjain28/go-zen/pkg"
"log"
)
func main(){
a := pkg.Access{UserName: "username@exmaple.com", Password: "password", Domain: "acme"}
ticket, _ := a.GetTicket(1)
log.Println(ticket.ID,ticket.Description,ticket.Subject)
}