pokepy icon indicating copy to clipboard operation
pokepy copied to clipboard

A Python wrapper for PokéAPI

Results 20 pokepy issues
Sort by recently updated
recently updated
newest added

Async client should use aiohttp to perform requests to the PokeAPI and implement all get_* methods

Sync client should use requests to make http requests to the PokeAPI and implement all get_* methods

Base client should have all the base methods required by the sync and async clients

Every class should expect a `dict` with the http response as parsed by the json package, and then assign all available properties

Hey @Naramsim and @phalt, I was thinking about rewriting pokepy. My main motivation is to move away from `beckett`. I could then implement both synchronous and asynchronous clients, using `requests`...

question

e.g. pokepy.V2Client().get_generation(1).pokemon_species[0] is a NamedApiResource which points to PokemonSpecies I haven't figured out yet, how to get the data from that NamedApiResource. Is there an easy way, e.g. `get()`?

enhancement
question

Using a clean venv, I get a dependency conflict between beckett and pokepy for the requests package: ``` (venv) PS> python --version Python 3.8.1 (venv) PS> pip --version pip 20.0.2...

The function is called `get_location_area` to stay consistent with the API but this is a bit weird. If it were up to me I'd swap `PokemonEncounter` and `LocationAreaEncounter` so the...

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of...