واجهة الحظ وكاوساي من APIRobots

واجهة الحظ وكاوساي من APIRobots

أطلق الفكاهة والحكمة مع واجهتنا المرحة! 🐮✨ حظوظ عشوائية ورسوم بقر ASCII بضمان 99.99%.

🚀 نهايات الواجهة

1. حظ نصي

GET /v1/fortune/plain

الرد:

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

2. حظ كاوساي

GET /v1/fortune/cowsay

الرد:

{
    "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. بقرة عشوائية

GET /v1/fortune/random-cow

الرد:

{
    "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. كاوساي مخصص

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

الرد:

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

🌟 المزايا الرئيسية

  • حظوظ عشوائية: اقتباسات فريدة وذكية
  • أنماط عدة: نص ورسوم بقر ASCII
  • مخصص: حظوظ كاوساي الخاصة بك
  • مؤسسي: ضمان 99.99%