{"id":23859015,"url":"https://github.com/coloredcow/api-connector-wordpress","last_synced_at":"2025-08-27T13:21:46.147Z","repository":{"id":103295766,"uuid":"190248393","full_name":"ColoredCow/api-connector-wordpress","owner":"ColoredCow","description":"A simple WordPress plugin that helps to utilize third-party or custom-built APIs.","archived":false,"fork":false,"pushed_at":"2019-07-11T07:44:59.000Z","size":24,"stargazers_count":9,"open_issues_count":3,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T17:52:38.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColoredCow.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-06-04T17:25:43.000Z","updated_at":"2024-11-24T06:28:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"31f24766-f535-4b58-8d63-45103a44bb7f","html_url":"https://github.com/ColoredCow/api-connector-wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ColoredCow/api-connector-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColoredCow%2Fapi-connector-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColoredCow%2Fapi-connector-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColoredCow%2Fapi-connector-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColoredCow%2Fapi-connector-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColoredCow","download_url":"https://codeload.github.com/ColoredCow/api-connector-wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColoredCow%2Fapi-connector-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335779,"owners_count":24916529,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-01-03T03:29:11.454Z","updated_at":"2025-08-27T13:21:46.138Z","avatar_url":"https://github.com/ColoredCow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Connector WordPress\n\nA simple plugin to consume custom REST APIs within your WordPress application.\n\n### Installation steps\n\n1. Clone or download this repository and add to your WordPress project `plugins/` directory.\n2. Go to the admin dashboard and activate the plugin.\n\n\n### Configurations\n\n1. Once activated, you can configure the API settings from `Settings \u003e API Connector`\n2. Enter valid API configurations and credentials. Contact your API service team to get these details.\n\n**Note**: The plugin only supports Client Credentials (token based) authentication right now.\n\n\n### Usage\n\nOnce the configurations are complete and correct, copy the following test snippet in your active theme's `functions.php` file to check the API connection.\n\n```php\nadd_action( 'init', 'api_test' );\nfunction api_test() {\n  $api_endpoint = 'test-api'; // this should be a valid endpoint at your API service\n  $method = 'GET';\n  $body = array();\n\n  $api_connector = new Api_Connector();\n  $response = $api_connector-\u003emake_api_call( $api_endpoint, $body, $method );\n  \n  echo $response;\n}\n```\n\nIf the response is same as you expected, then congratulations! You've successfully configured and used the plugin. If not, please double check the configurations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoloredcow%2Fapi-connector-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoloredcow%2Fapi-connector-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoloredcow%2Fapi-connector-wordpress/lists"}