API de Fortuna e Cowsay por APIRobots

API de Fortuna e Cowsay por APIRobots

Solte humor e sabedoria com nossa API divertida! 🐮✨ Fortunas aleatórias e vacas ASCII com 99.99% de uptime garantido.

🚀 Endpoints da API

1. Fortuna em texto

GET /v1/fortune/plain

Resposta:

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

2. Fortuna com Cowsay

GET /v1/fortune/cowsay

Resposta:

{
    "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. Fortuna aleatória com vaca

GET /v1/fortune/random-cow

Resposta:

{
    "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. Mensagem Cowsay personalizada

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

Resposta:

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

🌟 Principais recursos

  • Fortunas aleatórias: Frases únicas e espirituosas
  • Vários estilos: Texto e vacas ASCII
  • Personalizadas: Suas fortunas cowsay
  • Empresarial: 99.99% de uptime