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.

   [
    {
   During the Middle Ages, Great Danes and Mastiffs were sometimes suited with armor and spiked collars to enter a battle or to defend supply caravans.
    }
  ]

What it Looks Like

The Expected Output

There are about 400 million dogs in the world.