How we use it!

The dog Facts uses an External API whitch you can find below!


The AP system we use is make from kinduff

API Code

  < ?php
  $site = 'https://dog-api.kinduff.com/api/facts?number=1';
  $page = file_get_contents($site);
  $data = json_decode($page);
  echo $data -> fact[0];
  ?>

the Json Data

We use External API.

   [
    {
   Humans have kept dogs as pets for over 12,000 years.
    }
  ]

What it Looks Like

The Expected Output

Dogs can get jealous when their humans display affection toward someone or something else.