Easy API Pagination in Flask - PyCare
In this post I will show you how to set up API pagination in Flask, thanks primarily to Flask-SqlAlchemy’s paginate method. Our goal is to use a URL like this: /v1/magazines?page=1&per-page=50 to generate JSON results like this: Let’s get straight to the code and write a basic example. That’s it! The paginate method on our […]
PyCare