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.

   [
    {
   About 12 percent of the air that a dog breathes goes into a special area in the back of the nose that is dedicated to smelling.
    }
  ]

What it Looks Like

The Expected Output

The average dog lives 10 to 14 years.