mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-02-04 10:15:30 +00:00
19 lines
546 B
Markdown
19 lines
546 B
Markdown
# thousandeyes-sdk-core
|
|
|
|
This package provides core functionality for interacting with the ThousandEyes API and should be installed before using any of the published SDKs.
|
|
|
|
Usage example for iterating paginated responses:
|
|
|
|
```python
|
|
from thousandeyes_sdk.core import PaginatorIterator
|
|
from thousandeyes_sdk.usage.api.usage_api import UsageApi
|
|
|
|
usage_api = UsageApi()
|
|
for page in PaginatorIterator(
|
|
usage_api.get_enterprise_agents_units_usage,
|
|
start_date="2024-01-01T00:00:00Z",
|
|
end_date="2024-01-31T23:59:59Z",
|
|
):
|
|
print(page)
|
|
```
|