The dog Facts uses an External API whitch you can find below!
The AP system we use is make from kinduff
$site = 'https://dogapi.dog/api/v2/facts'; $page = file_get_contents($site); $data = json_decode($page); echo $data->data[0]->attributes->body);
We use External API.
[
{
In ancient Greece, kennels of dogs were kept at the sanctuary of Asclepius at Epidaurus. Dogs were frequently sacrificed there because they were plentiful, inexpensive, and easy to control. During the July 25 celebration of the kunophontis ("the massacre of dogs"), dog sacrifices were performed to appease the ancestors of Apollo’s son, Linos, who was devoured by dogs..
}
]
The Expected Output
In ancient Greece, kennels of dogs were kept at the sanctuary of Asclepius at Epidaurus. Dogs were frequently sacrificed there because they were plentiful, inexpensive, and easy to control. During the July 25 celebration of the kunophontis ("the massacre of dogs"), dog sacrifices were performed to appease the ancestors of Apollo’s son, Linos, who was devoured by dogs..