pokeapi
pokeapi copied to clipboard
Pokemon's strengths and weaknesses, or access to all types and their damage relations
I need to be able to list a Pokemon's strengths and weaknesses, but there doesn't seem to be a way to access that. I saw a similar post and someone gave their solution to the problem but there no longer appears to be a way to access all types damage relations at once anymore.
Hi, yeah, weakness is determined by the type/types of the pokemon and the type of the move. You'll have to make some calculations using https://pokeapi.co/docs/v2#types, check damage_relations
Hello, I would like to work on this problem.