API de Fortune et Cowsay par APIRobots

API de Fortune et Cowsay par APIRobots

Humour et sagesse avec notre API fun ! 🐮✨ Fortunes aléatoires et vaches ASCII avec 99,99 % d’uptime garanti.

🚀 Points de terminaison

1. Fortune en texte

GET /v1/fortune/plain

Réponse :

{
    "fortune": "\"I'm in Pittsburgh.  Why am I here?\"\n\t\t-- Harold Urey, Nobel Laureate"
}

2. Fortune Cowsay

GET /v1/fortune/cowsay

Réponse :

{
    "fortune": "_________________________________________ \n/ Today's scientific question is: What in \\\n| the world is electricity?               |\n|                                         |\n| And where does it go after it leaves    |\n| the toaster?                            |\n|                                         |\n\\ -- Dave Barry, \"What is Electricity?\"   /\n ----------------------------------------- \n        \\   ^__^\n         \\  (oo)\\_______\n            (__)\\       )\\/\\\n                ||----w |\n                ||     ||"
}

3. Vache aléatoire

GET /v1/fortune/random-cow

Réponse :

{
    "fortune": "________________________________________ \n/ User n.:                               \\\n|                                        |\n| A programmer who will believe anything |\n\\ you tell him.                          /\n ---------------------------------------- \n          \\      (__)      \n           \\     /oo|  \n            \\   (_\"_)*+++++++++*\n                   //I#\\\\\\\\\\\\\\\\I\\\n                   I[I|I|||||I I `\n                   I`I'///'' I I\n                   I I       I I\n                   ~ ~       ~ ~\n                     Scowleton"
}

4. Cowsay perso

GET /v1/fortune/cowsay?text=Hello%20Foobar

Réponse :

{
    "fortune": "______________\n< Hello Foobar >\n --------------\n        \\   ^__^\n         \\  (oo)\\_______\n            (__)\\       )\\/\\\n                ||----w |\n                ||     ||"
}

🌟 Fonctionnalités principales

  • Fortunes aléatoires : Citations uniques et fines
  • Plusieurs styles : Texte et vaches ASCII
  • Perso : Vos fortunes cowsay
  • Entreprise : 99,99 % d’uptime