Repository for BYB - Task 25
This code fetches data from an Application Programming Interface (API) to get information about a particular Pokèmon.
The code makes use of an asynchronous process, returning a promise to resolve a response object.
The result is then printed to the console.
Incase there is an even that results in the failure of the API call there is also error handling implemented to log the error.
To run this code you must have node.js installed. You can run this code inside of your IDE. Feel free to change the pokemon name at the end of the URL to a pokemon of your choice.
The output should look like this:
