This Clockwise.MD API module is for connecting and calling their API. It is a simple module, but it gives you a method and a class to work with to call the API to get results.
How to Use
Add your authorization token via the module's config page: /admin/config/services/clockwise
API CALL
The callApi method can take up to four parameters, only the endpoint is required.
1. The endpoint as defined in your Clockwise.MD docs page: https://clockwisemd.com/docs
2. Parameters to pass in the url. This is any additional parameters that need to be added as a query to the url call. Defaults to an empty array.
3. Options to add to the header / body call. This is usually used in a POST request. Defaults to an empty array.
4. The method of the call. Defaults to GET.
Example of how to use this functionality:
function whatever() {
$cw = new ClockwiseMdApi();
$params = array('hospital_id' => '111');
// This will return an array on success or NULL if it fails
$api = $cw->callApi('/providers', $params);
}
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Integrations
- Created by labboy0276 on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
