Star Wars API - HTTP Client
An HTTP Client Manager implementation of the Star Wars API. Initially
created as an example, but now a fully operational API client.
Usage
For use in PHP, retrieve the client from the Drupal service registry, e.g.:
$client = \Drupal::service('http_client_swapi.client');
Client operations can be invoked directly, e.g.:
$client->personById(['id' => 1]);
For non-code usage, all operations are exposed as Drupal action plugins by
HTTP Client Manager so they can be called from any module that supports
actions like ECA.
Requirements
This module requires the following modules:
Installation
Install as you would normally install a contributed Drupal module. For further
information, see Installing Drupal Modules.
Configuration
This module has no menu or modifiable settings of it's own. Usage and
configuration instructions can be found in the docs for HTTP Client Manager.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0 | Stable | Jan 21, 2023 |