singer_sdk.pagination.HeaderLinkPaginator¶
- class singer_sdk.pagination.HeaderLinkPaginator[source]¶
Paginator class for APIs supporting HATEOAS links in their headers.
- Links:
- get_next_url(response)[source]¶
Override this method to extract a HATEOAS link from the response.
- Parameters:
response (requests.Response) – API response object.
- Returns:
A HATEOAS link parsed from the response headers.
- Return type:
str | None