{"id":21561667,"url":"https://github.com/testmonitor/clickup-client","last_synced_at":"2025-04-10T12:06:15.819Z","repository":{"id":200442085,"uuid":"705226623","full_name":"testmonitor/clickup-client","owner":"testmonitor","description":"The TestMonitor Clickup Client.","archived":false,"fork":false,"pushed_at":"2024-10-07T07:51:13.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T10:56:28.611Z","etag":null,"topics":["api","clickup","client"],"latest_commit_sha":null,"homepage":"https://www.testmonitor.com/","language":"PHP","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/testmonitor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2023-10-15T12:22:18.000Z","updated_at":"2024-10-07T07:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b2122c4-1042-4fa0-b9b2-586057936da5","html_url":"https://github.com/testmonitor/clickup-client","commit_stats":null,"previous_names":["testmonitor/clickup-client"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fclickup-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fclickup-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fclickup-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fclickup-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testmonitor","download_url":"https://codeload.github.com/testmonitor/clickup-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248216887,"owners_count":21066632,"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":["api","clickup","client"],"created_at":"2024-11-24T09:27:31.801Z","updated_at":"2025-04-10T12:06:15.798Z","avatar_url":"https://github.com/testmonitor.png","language":"PHP","readme":"# TestMonitor Clickup Client\n\n[![Latest Stable Version](https://poser.pugx.org/testmonitor/clickup-client/v/stable)](https://packagist.org/packages/testmonitor/clickup-client)\n[![CircleCI](https://img.shields.io/circleci/project/github/testmonitor/clickup-client.svg)](https://circleci.com/gh/testmonitor/clickup-client)\n[![StyleCI](https://styleci.io/repos/705226623/shield)](https://styleci.io/repos/705226623)\n[![codecov](https://codecov.io/gh/testmonitor/clickup-client/graph/badge.svg?token=JUUZJ9RN2F)](https://codecov.io/gh/testmonitor/clickup-client)\n[![License](https://poser.pugx.org/testmonitor/clickup-client/license)](https://packagist.org/packages/testmonitor/clickup-client)\n\nThis package provides a very basic, convenient, and unified wrapper for [Clickup](https://clickup.com/).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Tests](#tests)\n- [Changelog](#changelog)\n- [Contributing](#contributing)\n- [Credits](#credits)\n- [License](#license)\n\n## Installation\n\nTo install the client you need to require the package using composer:\n\n\t$ composer require testmonitor/clickup-client\n\nUse composer's autoload:\n\n```php\nrequire __DIR__.'/../vendor/autoload.php';\n```\n\nYou're all set up now!\n\n## Usage\n\nThis client only supports **oAuth authentication**. You'll need an Clickup application to proceed. If you haven't done so,\nplease read up with the [Clickup authentication docs](https://clickup.com/api/developer-portal/authentication#oauth-flow) on how\nto create an application.\n\nWhen your Clickup application is up and running, start with the oAuth authorization:\n\n```php\n$oauth = [\n    'clientId' =\u003e '12345',\n    'clientSecret' =\u003e 'abcdef',\n    'redirectUrl' =\u003e 'https://redirect.myapp.com/',\n];\n\n$clickup = new \\TestMonitor\\Clickup\\Client($oauth);\n\nheader('Location: ' . $clickup-\u003eauthorizationUrl());\nexit();\n```\n\nThis will redirect the user to a page asking confirmation for your app getting access to Clickup. Make sure your redirectUrl points\nback to your app. This URL should point to the following code:\n\n```php\n$oauth = [\n    'clientId' =\u003e '12345',\n    'clientSecret' =\u003e 'abcdef',\n    'redirectUrl' =\u003e 'https://redirect.myapp.com/',\n];\n\n$clickup = new \\TestMonitor\\Clickup\\Client($oauth);\n\n$token = $clickup-\u003efetchToken($_REQUEST['code']);\n```\n\nWhen everything went ok, you should have an access token (available through Token object). It will be valid for **one hour**.\nAfter that, you'll have to refresh the token to regain access:\n\n```php\n$oauth = ['clientId' =\u003e '12345', 'clientSecret' =\u003e 'abcdef', 'redirectUrl' =\u003e 'https://redirect.myapp.com/'];\n$token = new \\TestMonitor\\Clickup\\AccessToken('eyJ0...'); // the token you got last time\n\n$clickup = new \\TestMonitor\\Clickup\\Client($oauth, $token);\n```\n\n## Examples\n\nGet a list of Clickup workspaces:\n\n```php\n$workspaces = $clickup-\u003eworkspaces();\n```\n\nOr creating a task, for example (using list id 12345):\n\n```php\n$workItem = $clickup-\u003ecreateTask(new \\TestMonitor\\Clickup\\Resources\\Task([\n    'name' =\u003e 'Name of the task',\n    'description' =\u003e 'Some description',\n]), '12345');\n```\n\n## Tests\n\nThe package contains integration tests. You can run them using PHPUnit.\n\n    $ vendor/bin/phpunit\n\n## Changelog\n\nRefer to [CHANGELOG](CHANGELOG.md) for more information.\n\n## Contributing\n\nRefer to [CONTRIBUTING](CONTRIBUTING.md) for contributing details.\n\n## Credits\n\n* **Thijs Kok** - *Lead developer* - [ThijsKok](https://github.com/thijskok)\n* **Stephan Grootveld** - *Developer* - [Stefanius](https://github.com/stefanius)\n* **Frank Keulen** - *Developer* - [FrankIsGek](https://github.com/frankisgek)\n\n## License\n\nThe MIT License (MIT). Refer to the [License](LICENSE.md) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestmonitor%2Fclickup-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestmonitor%2Fclickup-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestmonitor%2Fclickup-client/lists"}