Skip to content

slimson1/codingTasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

codingTasks

Repository for BYB - Task 25

Coding Task name - Pokemon Promises

What does this code do:

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.

How to run this code:

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:

About

Repository for BYB - Task 25

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published