Strava v0.4.0 Strava.Paginator View Source

Requests that return multiple items will be paginated to 30 items by default. The page parameter can be used to specify further pages or offsets. The per_page may also be used for custom page sizes up to 200.

More info: https://strava.github.io/api/#pagination

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Strava.Paginator{page: integer, per_page: integer, request_delay: integer, status: atom}

Link to this section Functions

Link to this function stream(request, per_page \\ Strava.max_page_size(), first_page \\ 1, delay_between_requests_in_milliseconds \\ Strava.delay_between_requests_in_milliseconds()) View Source
stream((Strava.Pagination.t -> list), integer, integer, integer) :: Enum.t