Pokeapi: Access to a pokemon's pokedex description

Created on 24 Feb 2016  Â·  13Comments  Â·  Source: PokeAPI/pokeapi

Hi there !
First of all, thank you for this API!

I would want to know how I can get a pokemon description (as in the pokedex).
I have seen that data/v2/csv/pokemon_species_flavor_text.csv seems to have the data I look for but I can't find how to get _via_ the API.
Any idea ?

Thanks

Most helpful comment

Since this is closed but I still can't find any description when I call the api on any pokemon, could you tell me how to access the description? Thanks!
Edit - Never mind, found it! To anyone else, it's in the pokemon species call. :)

All 13 comments

@fmonniot have you tried the V1 API for this?

Well maybe I could (I haven't tried) but I would prefer not to use two
version of the API of I can.
I'm ready to open a PR if this is not currently implemented in V2 and if
needed

On Wed, Feb 24, 2016, 02:32 Paul Hallett [email protected] wrote:

@fmonniot https://github.com/fmonniot have you tried the V1 API for
this?

—
Reply to this email directly or view it on GitHub
https://github.com/phalt/pokeapi/issues/107#issuecomment-188184438.

@fmonniot Let me ask @zaneadix if this is something we've merged into the project but not shipped yet :)

I need to get myself a weekend free so I can ship some recents changes :)

At data/v2/build.py line 1909 - 1918 the data goes in the db as PokemonSpeciesFlavorText.
I don't know if this is accessible trought the v2 api. I didn't find anything in the docs neighter online nor in the repo.

@phalt @fmonniot @nimaje So strange. I sincerely have no idea how I would have missed this. Working on implementing this right now.

@zaneadix No problem, I guess you are more interested in pokemon's statistics than in their description :)

Resolved in #111 - will let you know when it is shipped @fmonniot, then I can close this :)

Hey! Just a quick question - Any ETA on when will this be shipped?

@vihanggodbole my Sunday will be taken up mostly by shipping new things.

Since this is closed but I still can't find any description when I call the api on any pokemon, could you tell me how to access the description? Thanks!
Edit - Never mind, found it! To anyone else, it's in the pokemon species call. :)

@vihanggodbole Thanks for that! I was also looking for the pokedex description with no luck until seeing your comment.

@fleeting @vihanggodbole You're looking for the flavor_text_entries param on the pokemon-species resource (NOT the pokemon resource). I'm seeing them pop up now thanks to @phalt 's work over the weekend :)

Correct. I was looking everywhere else for it until @vihanggodbole's comment said it was in species. All good now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Finrod-Amandil picture Finrod-Amandil  Â·  5Comments

cmmartti picture cmmartti  Â·  4Comments

zaneadix picture zaneadix  Â·  6Comments

tdmalone picture tdmalone  Â·  3Comments

renatoi picture renatoi  Â·  7Comments