thousandeyes-sdk-python/thousandeyes-sdk-core/README.md
2026-01-20 10:47:35 +00:00

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)
```