Skip to content

Commit

Permalink
Merge pull request #155 from FallenDeity/add-pokemon-cries-field
Browse files Browse the repository at this point in the history
Add pokemon cries field
  • Loading branch information
Naramsim authored Feb 13, 2024
2 parents 525f74c + cdcd09a commit ea608d3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/docs/pokemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,10 @@
}
}
},
"cries": {
"latest": "https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/35.ogg",
"legacy": "https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/35.ogg"
},
"stats": [
{
"base_stat": 35,
Expand Down Expand Up @@ -1184,6 +1188,11 @@
"description": "A set of sprites used to depict this Pokémon in the game. A visual representation of the various sprites can be found at <a href='https://github.com/PokeAPI/sprites#sprites'>PokeAPI/sprites</a>",
"type": "PokemonSprites"
},
{
"name": "cries",
"description": "A set of cries used to depict this Pokémon in the game. A visual representation of the various cries can be found at <a href='https://github.com/PokeAPI/cries#cries'>PokeAPI/cries</a>",
"type": "PokemonCries"
},
{
"name": "species",
"description": "The species this Pokémon belongs to.",
Expand Down Expand Up @@ -1443,6 +1452,21 @@
"type": "string"
}
]
},
{
"name": "PokemonCries",
"fields": [
{
"name": "latest",
"description": "The latest depiction of this Pokémon's cry.",
"type": "string"
},
{
"name": "legacy",
"description": "The legacy depiction of this Pokémon's cry.",
"type": "string"
}
]
}
]
},
Expand Down

0 comments on commit ea608d3

Please sign in to comment.