Zendesk API Plugin
Dependency :
compile ":zendesk:1.0.4"
Summary
Interface to Zendesk support system via their API
Installation
grails install-plugin zendesk
Description
This plugin is a work in progress. Documentation and new features will come if there is demand.Currently you'll need to look at the source. You can create a Zendesk ticket as an end user like this:
class TestController {
def zendeskService def createTicket = {
def zen = zendeskService.getAPI("https://yourdomain.zendesk.com")
zen.user = params.email
zen.password = params.password
def res = zen.createTicket(
subject:'Testing API',
description:"I'm just testing the API as a user!"
)
render "Result: "+res
}
}