{"id":22059160,"url":"https://github.com/93digital/workable-api","last_synced_at":"2026-05-05T12:34:12.079Z","repository":{"id":56938724,"uuid":"432196744","full_name":"93digital/workable-api","owner":"93digital","description":"A PHP class to handle a Workable API request for a list of current vacancies on the platform.","archived":false,"fork":false,"pushed_at":"2022-02-15T15:55:07.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-29T02:53:19.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/93digital.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}},"created_at":"2021-11-26T13:57:15.000Z","updated_at":"2022-03-23T16:58:48.000Z","dependencies_parsed_at":"2022-08-21T06:50:27.419Z","dependency_job_id":null,"html_url":"https://github.com/93digital/workable-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/93digital/workable-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/93digital%2Fworkable-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/93digital%2Fworkable-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/93digital%2Fworkable-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/93digital%2Fworkable-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/93digital","download_url":"https://codeload.github.com/93digital/workable-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/93digital%2Fworkable-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-30T17:27:21.079Z","updated_at":"2026-05-05T12:34:12.055Z","avatar_url":"https://github.com/93digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nine3 Workable API Class\n\n**_v1.0.1_**\n\n**_Authors:_** _Ahmad Al Asadi \u0026 Matt Knight_\n\nAn API class for WordPress to fetch vacancies from an account on the Workable recruitment platform. The fetched data is stored as a WordPress transient, allowing quick and easy access to the data.\n\n## Installation\n\nInstall via composer:\n\n```\n$ composer require 93devs/nine3-workable-api:dev-master\n```\n\nThen within a theme configuration file (such as `functions.php`) instantiate the class:\n\n```php\n/**\n * @param string $subdomain The subdomain part of the URL of a Workable account.\n * @param string $access_token An access token generated within the Workable account.\n */\n$workable_api = new Nine3_Workable_Api( $subdomain, $access_token )\n```\n\n## Methods\n\nThe class will set up an hourly cron job that makes the API request and stores the response as a transient automatically upon instantiation (assuming WP-Cron has not been disabled!).\n\nHowever there are a handful of publicly available methods.\n\n### Get vacancies\n\nReturns a full list of the published vacancies on the Workable account. This will return the data saved in the transient. If the transient is empty or not found a new API request will be made.\n\n**Usage:**\n\n```php\n/**\n * @return array A multi-dimensional array containing all vacancy data.\n *\n * @see https://workable.readme.io/docs/jobs For available keys in each vacancy. An extra `description` key will also have been added by the class.\n */\n$workable_api-\u003eget_vacancies();\n```\n\n### Fetch vacancies\n\nForces a new API request to the Workable platform for the latest vacancies data. The transient will be updated with the returned response.\n\n```php\n/**\n * @param bool $return [optional] Whether to return the fetched vacancies data.\n *\n * @return array A multi-dimensional array containing all vacancy data.\n *\n * @see https://workable.readme.io/docs/jobs For available keys in each vacancy. An extra `description` key will also have been added by the class.\n */\n$workable_api-\u003efetch_vacancies( $return = false );\n```\n\n## More Info\n\nWorkable API reference: \u003ca href=\"https://workable.readme.io/\" target=\"_blank\"\u003ehttps://workable.readme.io/\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F93digital%2Fworkable-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F93digital%2Fworkable-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F93digital%2Fworkable-api/lists"}