How to modify the method get .Movies

how to modify the method get_movies in to allow for paging.?
api_search_movies method from

Need help

You can read the comment:

Ticket: Paging

Before this method returns back to the API, use the “movies_per_page
argument to decide how many movies get displayed per page. The “page”
argument will decide which page

Paging can be implemented by using the skip() and limit() methods against
the Pymongo cursor.