Ambil url dalam javascript

fetch('https://api.github.com/users/kipngetich33')
  .then(response => response.json())
  .then(formatedResponse =>  console.log(formatedResponse))
//NB please replace url with your own
Kipngetich