SilverStripe\CKANRegistry\Service\APIClientInterface
A service responsible for communicating with a CKAN API endpoint
Synopsis
interface APIClientInterface
{
- // constants
- const API_VERSION = 3;
- // methods
- public array getData()
- public array getPackage()
- public array getSearchData()
Constants
Name | Value |
---|---|
API_VERSION | 3 |
Methods
public
- getData() — Performs a request to the CKAN API for the given {@link Resource} and returns the raw data result
- getPackage() — Performs a request to the CKAN API for the given {@link Resource} and returns the result. Uses the endpoint for "package_show".
- getSearchData() — Performs a request to the CKAN API for the given {@link Resource} and returns the raw data result. Uses the endpoint for "datastore_search".