-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create get_pokemons() method. #37
Comments
I've been thinking about adding support for pagination. |
Good, so I'm going to create pagination issues for the others resources as well, this way, everybody who wants to help can based on those issues too. What do you think about it? |
I think a general pagination issue would be better. As per the pokeapi docs:
So, it should be easy to implement the calling of any |
The PokeAPI allows getting a list of Pokemons with pagination, we could include this functionality in to the wrapper and allows to get a list of Pokemon objects and pass not required pagination arguments.
Example:
def get_pokemons(offset=0, limit=20):
It will return:
The text was updated successfully, but these errors were encountered: