{"id":18722799,"url":"https://github.com/bronzdoc/beekit","last_synced_at":"2025-11-11T05:30:25.330Z","repository":{"id":89418440,"uuid":"53832737","full_name":"bronzdoc/Beekit","owner":"bronzdoc","description":":honeybee: API wrapper for SupportBee","archived":false,"fork":false,"pushed_at":"2016-03-15T04:12:17.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T06:42:41.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bronzdoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-14T06:35:32.000Z","updated_at":"2016-03-15T03:25:50.000Z","dependencies_parsed_at":"2023-03-13T18:09:56.854Z","dependency_job_id":null,"html_url":"https://github.com/bronzdoc/Beekit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronzdoc%2FBeekit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronzdoc%2FBeekit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronzdoc%2FBeekit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronzdoc%2FBeekit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bronzdoc","download_url":"https://codeload.github.com/bronzdoc/Beekit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587244,"owners_count":19663892,"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-07T13:42:54.064Z","updated_at":"2025-11-11T05:30:25.285Z","avatar_url":"https://github.com/bronzdoc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beekit\nAPI wrapper for SupportBee\n\n## Installation(this is a demo gem)\n\n```\n$ git clone https://github.com/bronzdoc/Beekit.git\n$ cd Beekit\n$ gem build beekit.gemspec\n$ gem install beekit.gem\n```\n\n## Usage\n\n```ruby\nclient = Beekit::Client.new(\"company\", \"API_TOKEN\")\n\n```\n\n# Fetching tickets\n\n```ruby\n\n# Retrieve the default set of tickets\nclient.tickets\n\n# Or pass an options hash, visit for the complete list of options (https://developers.supportbee.com/api#fetching_tickets)\nclient.tickets({label: \"important\", per_page: 10})\n\n# Get a single ticket\nclient.ticket(ticket_id)\n```\n\n# Creating tickets\n\n```ruby\n# Create a ticket\nclient.create_ticket(\"ticket content\", {\n    subject: \"Subject\",\n    requester_name: \"Charles xavier\",\n    requester_email: \"charles@gmail.com\",\n    cc: [\"hank_maccoy@gmail.com\"],\n})\n\n```\n\n# Deleting tickets\n\n```ruby\nclient.delete_trashed_ticket!(ticket_id)\n```\n\n# Actions on Tickets\n\n```ruby\n# Archives an unarchived ticket\nclient.archive_ticket(ticket_id)\n\n# Un-archives an archived ticket\nclient.unarchive_ticket(ticket_id)\n\n# Assign a ticket to a User/Group\nclient.assign_ticket(ticket_id, user_id: 1)\nclient.assign_ticket(ticket_id, group_id: 1)\n\n# Star a ticket\nclient.star_ticket(ticket_id)\n\n# Mark a ticket as spam\nclient.spam_ticket(ticket_id)\n\n# Remove spam lavel to a ticket\nclient.unspam_ticket(ticket_id)\n\n# Un-Star tickets\nclient.unstar_ticket(ticket_id)\n\n# Trash ticket\nclient.trash_ticket(ticket_id)\n\n# Un-Trash ticket\nclient.untrash_ticket(ticket_id)\n\n# Fetching ticket replies\nclient.ticket_replies(ticket_id)\n\n# Reply to a ticket with text/html and with an  optional array of attachments\nclient.create_ticket_reply(ticket_id, {text: \"hello\", html: \"hello\"}, [])\n\n# Get comments of a ticket\nclient.ticket_comments(ticket_id)\n\n# Create a comment of a ticket\nclient.create_ticket_comment(ticket_id)\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[bronzdoc]/beekit.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronzdoc%2Fbeekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbronzdoc%2Fbeekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronzdoc%2Fbeekit/lists"}