Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 2.22 KB

ReferencesecfilingfileApi.md

File metadata and controls

72 lines (49 loc) · 2.22 KB

OpenAPI\Client\ReferencesecfilingfileApi

All URIs are relative to https://api.polygon.io, except if the operation defines another base path.

Method HTTP request Description
getFilingFile() GET /v1/reference/sec/filings/{filing_id}/files/{file_id} SEC Filing File

getFilingFile()

getFilingFile($filing_id, $file_id): \OpenAPI\Client\Model\ListFilingFiles200ResponseResultsInner

SEC Filing File

Get filing file

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure API key authorization: apiKey
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('apiKey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apiKey', 'Bearer');


$apiInstance = new OpenAPI\Client\Api\ReferencesecfilingfileApi(
    // 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
);
$filing_id = 'filing_id_example'; // string | Select by filing id.
$file_id = 1; // string | Select by file id.

try {
    $result = $apiInstance->getFilingFile($filing_id, $file_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReferencesecfilingfileApi->getFilingFile: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
filing_id string Select by filing id. [optional]
file_id string Select by file id. [optional]

Return type

\OpenAPI\Client\Model\ListFilingFiles200ResponseResultsInner

Authorization

apiKey

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]