Parallel to the Services module, the Clients module provides the ability to implement pluggable clients to external web services, including external Drupal sites running the Services module, the main use case being ingesting content from other Drupal installs via the Services module XMLRPC server.
Clients module allows you to create connections to remote services with an admin UI. These handle fetching a result from a remote service. Different types of connection are provided for different types of services. There is a Drupal client connection type for different versions of Services (5.x-0.92, 6.x-2.x, 7.x-3.x), hence Clients can be used to connect to sites with different versions of Drupal.
Connections can be exported to Features. The UI also provides a system for testing connections are correctly set up and functioning.
Requirements
- Autoload
- CTools 6.x-1.x-dev
API
The aim of Clients is to make it very simple to make calls to remote services. Clients takes care of all the necessary interactions with the remote site, such as connecting, logging in, working with tokens, and so on. This makes connecting to a remote service almost as simple as just calling a function:
// 'my_connection' is the machine name of the connection.
$result = clients_connection_call('my_connection', 'method.name', $param1, $param2, $param_etc);More details in the documentation page and the README file.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Multisite, Utility
- Reported installs: 48 sites currently report using this module. View usage statistics.
- Last modified: July 27, 2011