المعرفة والمرح

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

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

طلب الرؤوس

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required fortune-and-cowsay-api.p.rapidapi.com

نقاط النهاية

GET /v1/fortune/plain

حظ نصي

أمثلة على الكود

curl --request GET \
  --url 'https://fortune-and-cowsay-api.p.rapidapi.com/v1/fortune/plain' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: fortune-and-cowsay-api.p.rapidapi.com'
GET /v1/fortune/cowsay

حظ كاوساي

أمثلة على الكود

curl --request GET \
  --url 'https://fortune-and-cowsay-api.p.rapidapi.com/v1/fortune/cowsay' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: fortune-and-cowsay-api.p.rapidapi.com'
GET /v1/fortune/random-cow

بقرة عشوائية

أمثلة على الكود

curl --request GET \
  --url 'https://fortune-and-cowsay-api.p.rapidapi.com/v1/fortune/random-cow' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: fortune-and-cowsay-api.p.rapidapi.com'

مثال تفاعلي

fortune-and-cowsay-api
$ GET /v1/fortune/plain
{
    "fortune": "\"I'm in Pittsburgh.  Why am I here?\"\n\t\t-- Harold Urey, Nobel Laureate"
}

دليل التكامل والاستخدام

Unleash humor and wisdom with our playful API! 🐮✨ Delivering random fortunes and ASCII cow graphics with 99.99% guaranteed uptime.

🚀 API Endpoints

1. Get Plain Fortune

GET /v1/fortune/plain

Response:

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

2. Fortune with Cowsay

GET /v1/fortune/cowsay

Response:

{
    "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. Random Cow Fortune

GET /v1/fortune/random-cow

Response:

{
    "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. Custom Cowsay Message

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

Response:

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

🌟 Key Features

  • Random Fortunes: Unique, witty quotes
  • Multiple Styles: Plain text and ASCII cow graphics
  • Custom Messages: Generate your own cowsay fortunes
  • Enterprise Reliability: 99.99% uptime guarantee

الاشتراك والترخيص

يمكنك الوصول إلى واجهة برمجة التطبيقات هذه بمستويات جاهزة للاستخدام التجاري على RapidAPI. خطط مرنة مصممة للمشاريع الجانبية والشركات الناشئة وهياكل الإنتاج كبيرة الحجم.

عرض الأسعار والاشتراك

دعم المطورين

هل تحتاج إلى مساعدة في التكامل أو لديك طلب نقطة نهاية مخصص؟ فريقنا الهندسي موجود هنا للمساعدة في المصادقة ومخططات الحمولة وزيادة حدود معدل التردد العالي.

تواصل مع هندسة API

أداء النظام

مراقبة على مدار 24 ساعة طوال أيام الأسبوع مع وقت تشغيل بنسبة 99.9% لاتفاقية مستوى الخدمة. تم تصميمه فوق خدمات صغيرة سحابية أصلية مع تخزين مؤقت على الحافة موزع عالميًا لضمان أوقات استجابة منخفضة للغاية.

جميع الأنظمة التشغيلية