Fortune・Cowsay API by 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%稼働保証