https://github.com/rfschubert/masonite-api-pagination
Simple API pagination to Masonite API package with Orator
https://github.com/rfschubert/masonite-api-pagination
api masonite-framework pagination python python3 rest-api
Last synced: 5 months ago
JSON representation
Simple API pagination to Masonite API package with Orator
- Host: GitHub
- URL: https://github.com/rfschubert/masonite-api-pagination
- Owner: rfschubert
- Created: 2019-03-05T00:50:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T15:45:44.000Z (about 7 years ago)
- Last Synced: 2025-03-05T01:31:10.662Z (about 1 year ago)
- Topics: api, masonite-framework, pagination, python, python3, rest-api
- Language: Python
- Size: 56.6 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Masonite API pagination
Simple API pagination to Masonite API package with Orator
Have a look on [package wiki](https://github.com/rfschubert/masonite-api-pagination/wiki/Getting-Started) to see how to install and configure this package :)
This `Masonite` package was created to fast development of `API` endpoints with pagination. The concept is very simple.
Currently, when you create one `Resource` file, you do something like this:

Now, you can have one paginated endpoint, just changing a bit your file, to this:

And it's all done! You will get this response from your endpoint:

Have a look on [package wiki](https://github.com/rfschubert/masonite-api-pagination/wiki/Getting-Started) to have more information about this awesome package :)