Pagination#
- class semanticscholar.PaginatedResults.PaginatedResults#
Base class that abstracts paginated results from API search. You can just iterate over results regardless of the number of pages. PaginatedResults and AsyncPaginatedResults inherit from this class, with minor adjustments.
- async async_next_page() None #
Get next results
- property items: list#
- Type:
list
- property next: int#
- Type:
int
- next_page() None #
Get next results
- property offset: int#
- Type:
int
- property raw_data: list#
- Type:
list
- property total: int#
- Type:
int