If I were to make some sort of wrapper for lets say pokeapi.co. Is there a way I can add user input?
I would want it to be something like:
FetchPokemon('Pokemon Name') and then it gets all the data for that pokemon.
Something like: https://pokeapi.co/api/v2/pokemon/ as the base URL then after there would be something like https://pokeapi.co/api/v2/pokemon/userinput. The userinput would be what the person put as “Pokemon Name”. Is there a tutorial or something that I can follow to do something like this?