签语与Cowsay API(APIRobots出品)

签语与Cowsay API(APIRobots出品)

用趣味API释放幽默与智慧!🐮✨随机签语与ASCII小牛,99.99%正常运行保证。

🚀 API端点

1. 纯文本签语

GET /v1/fortune/plain

响应:

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

2. Cowsay签语

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. 自定义 Cowsay

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

响应:

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

🌟 主要功能

  • 随机签语:独特机智名言
  • 多种风格:纯文本与ASCII小牛
  • 自定义:你的cowsay签语
  • 企业级:99.99%正常运行保证