Created
June 27, 2021 16:21
-
-
Save franciscojsc/e07396c78fa7ef33745add911a953834 to your computer and use it in GitHub Desktop.
Github user data using JavaScript fetch API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const URL = 'https://api.github.com/users/franciscojsc' | |
fetch(URL) | |
.then((data) => data.json()) | |
.then((result) => console.log(result)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment