All URIs are relative to https://de.openlegaldata.io/api
Method | HTTP request | Description |
---|---|---|
courtsList | GET /courts/ | |
courtsRead | GET /courts/{id}/ |
\Swagger\Client\Model\InlineResponse2007 courtsList($court_type, $slug, $code, $state_id, $city_id, $limit, $offset)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Swagger\Client\Api\CourtsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$court_type = "court_type_example"; // string |
$slug = "slug_example"; // string |
$code = "code_example"; // string |
$state_id = "state_id_example"; // string |
$city_id = "city_id_example"; // string |
$limit = 56; // int | Number of results to return per page.
$offset = 56; // int | The initial index from which to return the results.
try {
$result = $apiInstance->courtsList($court_type, $slug, $code, $state_id, $city_id, $limit, $offset);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CourtsApi->courtsList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
court_type | string | [optional] | |
slug | string | [optional] | |
code | string | [optional] | |
state_id | string | [optional] | |
city_id | string | [optional] | |
limit | int | Number of results to return per page. | [optional] |
offset | int | The initial index from which to return the results. | [optional] |
\Swagger\Client\Model\InlineResponse2007
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\Court courtsRead($id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Swagger\Client\Api\CourtsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 56; // int | A unique integer value identifying this court.
try {
$result = $apiInstance->courtsRead($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CourtsApi->courtsRead: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this court. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]