-
Notifications
You must be signed in to change notification settings - Fork 185
Home
pehrlich edited this page Oct 29, 2012
·
16 revisions
password:
config.username = "[email protected]"
config.password = "password"
token:
config.username = "[email protected]/token"
# token found at Settings -> Channels -> API -> Token Access
config.password = "kX53RIXZKUFhZxSYhRxe7QGFocTkDmmERDxpcddF"
# these settings then create the following syntax:
# curl -u [email protected]/token:kX53RIXZKUFhZxSYhRxe7QGFocTkDmmERDxpcddF https://...
See:
- https://github.com/zendesk/zendesk_api_client_rb/issues/10
- https://github.com/zendesk/zendesk_api_client_rb/issues/14
- https://github.com/zendesk/zendesk_api_client_rb/issues/29
- https://github.com/zendesk/zendesk_api_client_rb/issues/54
query = client.users.search(:query => "[email protected]")
client.search(query: 'type:ticket moon').first
client.tickets.find(id: '24').first
API calls are cached based upon their URI (including path and params) See: https://github.com/zendesk/zendesk_api_client_rb/issues/54