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.

   [
    {
   One survey reports that 33% of dog owners admit they talk to their dogs on the phone or leave messages on answering machines while they are away..
    }
  ]

What it Looks Like

The Expected Output

Newfoundlands are great swimmers because of their webbed feet.