_Extensions_DownloadData
QuantConnect._Extensions_DownloadData
__call__
__call__(
client: Any,
url: str,
headers: Dictionary[str, str] = None,
) -> str
__call__(
url: str, headers: Dictionary[str, str] = None
) -> str
Helper method to download a provided url as a string
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
Optional[Any]
|
The http client to use |
None
|
url
|
str
|
The url to download data from |
required |
headers
|
Dictionary[str, str]
|
Add custom headers for the request |
None
|
__getitem__
__getitem__(
type: Type[QuantConnect_Extensions_DownloadData_T],
) -> _Typed_Extensions_DownloadData[
QuantConnect_Extensions_DownloadData_T
]