{"id":21013849,"url":"https://github.com/jdecool/clockify-api","last_synced_at":"2025-05-15T04:34:39.629Z","repository":{"id":46647060,"uuid":"209606386","full_name":"jdecool/clockify-api","owner":"jdecool","description":"PHP client for Clockify.me API https://clockify.me/developers-api","archived":false,"fork":false,"pushed_at":"2023-11-23T17:48:58.000Z","size":80,"stargazers_count":16,"open_issues_count":2,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-13T17:09:31.652Z","etag":null,"topics":["api","clockify","hacktoberfest"],"latest_commit_sha":null,"homepage":"","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/jdecool.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":"2019-09-19T16:59:12.000Z","updated_at":"2024-08-19T15:33:28.000Z","dependencies_parsed_at":"2024-11-19T09:47:36.903Z","dependency_job_id":"41b6a863-ac45-4fc8-8479-b3331d0d2e32","html_url":"https://github.com/jdecool/clockify-api","commit_stats":{"total_commits":48,"total_committers":4,"mean_commits":12.0,"dds":0.125,"last_synced_commit":"76e2a5eb0b20150f075aad687fd851543f14012c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdecool%2Fclockify-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdecool%2Fclockify-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdecool%2Fclockify-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdecool%2Fclockify-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdecool","download_url":"https://codeload.github.com/jdecool/clockify-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254274695,"owners_count":22043568,"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","clockify","hacktoberfest"],"created_at":"2024-11-19T09:44:19.613Z","updated_at":"2025-05-15T04:34:39.285Z","avatar_url":"https://github.com/jdecool.png","language":"PHP","readme":"Clockify API client\n====================\n\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fjdecool%2Fclockify-api%2Fbadge%3Fref%3Dmaster\u0026style=flat)](https://actions-badge.atrox.dev/jdecool/clockify-api/goto?ref=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jdecool/clockify-api/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jdecool/clockify-api/?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/jdecool/clockify-api/v/stable.png)](https://packagist.org/packages/jdecool/clockify-api)\n\nPHP client for [Clockify.me API](https://clockify.me/developers-api).\n\n## Install it\n\nYou need to install the library with a PSR-18 compliant HTTP client.\n\nExample using Guzzle:\n\n```bash\ncomposer require jdecool/clockify-api guzzlehttp/guzzle http-interop/http-factory-guzzle\n```\n\nThe library is decoupled from any HTTP message client with [HTTPlug](http://httplug.io).\nThat's why you need to install a client implementation `http://httplug.io/` in this example.\n\n## Getting started\n\n### Use the HTTP client\n\n```php\n\u003c?php\n\nrequire __DIR__.'/vendor/autoload.php';\n\n$builder = new JDecool\\Clockify\\ClientBuilder();\n$client = $builder-\u003ecreateClientV1('your-clockify-api-key');\n\n$workspaces = $client-\u003eget('workspaces');\n```\n\n### Use the decicated API client\n\n```php\nrequire __DIR__.'/vendor/autoload.php';\n\n$builder = new JDecool\\Clockify\\ClientBuilder();\n$client = $builder-\u003ecreateClientV1('your-clockify-api-key');\n\n$apiFactory = new JDecool\\Clockify\\ApiFactory($client);\n$workspaceApi = $apiFactory-\u003eworkspaceApi();\n\n$workspaces = $workspaceApi-\u003eworkspaces(); // return an array of JDecool\\Clockify\\Model\\WorkspaceDto\n```\n\nAvailable APIs:\n\n* [Client](https://clockify.me/developers-api#tag-Client)\n* [Project](https://clockify.me/developers-api#tag-Project)\n* [Tag](https://clockify.me/developers-api#tag-Tag)\n* [Task](https://clockify.me/developers-api#tag-Task)\n* [Time entry](https://clockify.me/developers-api#tag-Time-entry)\n* [User](https://clockify.me/developers-api#tag-User)\n* [Workspace](https://clockify.me/developers-api#tag-Workspace)\n\n## LICENSE\n\nThis library is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdecool%2Fclockify-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdecool%2Fclockify-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdecool%2Fclockify-api/lists"}