{"id":19293019,"url":"https://github.com/catarse/zendesk_engine","last_synced_at":"2025-04-22T07:32:02.861Z","repository":{"id":18736754,"uuid":"21948365","full_name":"catarse/zendesk_engine","owner":"catarse","description":"Create tickets using Zendesk API through a ready to use moutable controller","archived":false,"fork":false,"pushed_at":"2021-08-03T06:05:12.000Z","size":41,"stargazers_count":3,"open_issues_count":15,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T01:03:36.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catarse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T15:59:53.000Z","updated_at":"2019-07-03T20:47:58.000Z","dependencies_parsed_at":"2022-09-13T22:23:24.606Z","dependency_job_id":null,"html_url":"https://github.com/catarse/zendesk_engine","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catarse%2Fzendesk_engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catarse%2Fzendesk_engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catarse%2Fzendesk_engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catarse%2Fzendesk_engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catarse","download_url":"https://codeload.github.com/catarse/zendesk_engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195042,"owners_count":21390230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T22:33:51.041Z","updated_at":"2025-04-22T07:32:02.597Z","avatar_url":"https://github.com/catarse.png","language":"Ruby","readme":"# ZendeskEngine [ ![Codeship Status for catarse/zendesk_engine](https://codeship.io/projects/9a3ec7c0-f00e-0131-0889-62f1bdfbd872/status)](https://codeship.io/projects/27276) [![Code Climate](https://codeclimate.com/github/catarse/zendesk_engine.png)](https://codeclimate.com/github/catarse/zendesk_engine)\n\n## Install and configure\nJust add to your Gemfile:\n\n    gem 'zendesk_engine'\n\nAnd create an initializer in ```config/initializers/zendesk_engine.rb``` with your Zendesk credentials:\n\n    ZendeskEngine.configure do |config|\n      config.url   = 'https://foocompany.zendesk.com/api/v2'\n      config.user  = 'myzendeskagent@foocompany.com'\n      config.token = 'my zendesk token found in API config'\n    end\n\n## Mount the routes\nAdd to your ```config/routes.rb```:\n```ruby\nMyApplication::Application.routes.draw do\n  mount ZendeskEngine::Engine =\u003e \"/\"\nend\n```\n\nThis will add the /tickets resources route to the path you've chosen as mouting point (\"/\" in the example above).\n\n## Make requests\nAfter this you can post tickets to /tickets and they will be relayed to the Zendesk API via the zendesk_api gem ;)\nThe parameters to ticket creation should be:\n```ruby\n{\n  user: {\n    email: 'foo@bar.com',\n    name: 'Foo Bar'\n  },\n  ticket: {\n    subject: 'Awesome ticket',\n    comment: {value: 'This is a ticket just to show a cool example'},\n    priority: 'urgent'\n  }\n}\n```\nThe response will be a json with the created ticket.\n\nThis project rocks and uses MIT-LICENSE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatarse%2Fzendesk_engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatarse%2Fzendesk_engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatarse%2Fzendesk_engine/lists"}