{"id":18013371,"url":"https://github.com/mahaker/gas-zenhub","last_synced_at":"2025-04-04T14:22:13.977Z","repository":{"id":96909352,"uuid":"309961211","full_name":"mahaker/gas-zenhub","owner":"mahaker","description":"ZenHub API client for Google Apps Script","archived":false,"fork":false,"pushed_at":"2021-06-28T07:44:49.000Z","size":53,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T23:52:04.327Z","etag":null,"topics":["gas","google-apps-script","zenhub"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mahaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-11-04T09:52:41.000Z","updated_at":"2021-09-30T01:52:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4e0e75d-4b2c-4393-829b-ba8358380880","html_url":"https://github.com/mahaker/gas-zenhub","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/mahaker%2Fgas-zenhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahaker%2Fgas-zenhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahaker%2Fgas-zenhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahaker%2Fgas-zenhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahaker","download_url":"https://codeload.github.com/mahaker/gas-zenhub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190614,"owners_count":20898790,"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":["gas","google-apps-script","zenhub"],"created_at":"2024-10-30T03:21:13.386Z","updated_at":"2025-04-04T14:22:13.960Z","avatar_url":"https://github.com/mahaker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ZenHub API client for Google Apps Script\n\n### Usage\n\n```shell\n$npm install gas-zenhub\n# or\n$yarn add gas-zenhub\n```\n\n:hammer_and_wrench: This is useful with [gas-github](https://github.com/mahaker/gas-github)!\n\n```javascript\nimport { Client as GitHubClient } from 'gas-github'\nimport { Client as ZenHubClient } from 'gas-zenhub'\n\nfunction openIssue() {\n  const githubClient = new GitHubClient('org', 'repo', 'token')\n  const zenhubClient = new ZenHubClient('workspace', 123456789, 'token')\n\n  // open issue\n  const issueNo = githubClient.openIssue({title: 'gas-github-test', body: 'bodybody\\nbodybodybody', labels: ['bug', 'documentation']})\n\n  // set estimate\n  zenhubClient.setEstimate(issueNo, 5)\n\n  // set epic issue\n  zenhubClient.setEpic(1, issueNo)\n\n  // move pipeline\n  const pipelines = zenhubClient.fetchPipelines()\n  zenhubClient.movePipelineTo(issueNo, pipelines.get('Backlog'))\n}\n```\n\n### Contribution\n\nWelcome contributions and feedbacks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahaker%2Fgas-zenhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahaker%2Fgas-zenhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahaker%2Fgas-zenhub/lists"}