entertainment
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEntertainment Content Skill
娱乐内容Skill
Get fun and entertaining content including quotes, jokes, luck predictions, and memes.
获取各类有趣的娱乐内容,包括名言、笑话、运势预测和梗图文案。
Available Content
可用内容
- Hitokoto (一言) - Random meaningful quotes
- Dad Jokes - English dad jokes
- Duanzi (段子) - Chinese jokes/funny stories
- Luck Prediction - Daily fortune telling
- KFC Meme - Crazy Thursday meme text
- Moyu Calendar - Slacking off calendar
- Hitokoto(一言) - 随机获取有意义的名言
- Dad Jokes - 英文冷笑话
- Duanzi(段子) - 中文段子/搞笑故事
- Luck Prediction - 每日运势预测
- KFC Meme - 疯狂星期四梗文案
- Moyu Calendar - 摸鱼日历
API Endpoints
API接口
| Content | Endpoint | Method |
|---|---|---|
| Hitokoto | | GET |
| Dad Joke | | GET |
| Duanzi | | GET |
| Luck | | GET |
| KFC Meme | | GET |
| Moyu | | GET |
| 内容 | 接口地址 | 请求方法 |
|---|---|---|
| Hitokoto(一言) | | GET |
| Dad Joke(英文冷笑话) | | GET |
| Duanzi(中文段子) | | GET |
| Luck(运势) | | GET |
| KFC Meme(KFC梗文案) | | GET |
| Moyu(摸鱼日历) | | GET |
Quick Examples
快速示例
Get Random Quote (Hitokoto)
获取随机名言(Hitokoto)
python
import requestspython
import requestsGet random quote
Get random quote
response = requests.get('https://60s.viki.moe/v2/hitokoto')
quote = response.json()
print(f"📖 {quote['hitokoto']}")
print(f" —— {quote['from']}")
response = requests.get('https://60s.viki.moe/v2/hitokoto')
quote = response.json()
print(f"📖 {quote['hitokoto']}")
print(f" —— {quote['from']}")
With category
With category
params = {'category': 'anime'} # anime, comic, game, literature, original, internet, other
response = requests.get('https://60s.viki.moe/v2/hitokoto', params=params)
undefinedparams = {'category': 'anime'} # anime, comic, game, literature, original, internet, other
response = requests.get('https://60s.viki.moe/v2/hitokoto', params=params)
undefinedGet Dad Joke
获取英文冷笑话
python
response = requests.get('https://60s.viki.moe/v2/dad-joke')
joke = response.json()
print(f"😄 {joke['setup']}")
print(f" {joke['punchline']}")python
response = requests.get('https://60s.viki.moe/v2/dad-joke')
joke = response.json()
print(f"😄 {joke['setup']}")
print(f" {joke['punchline']}")Get Chinese Joke (Duanzi)
获取中文段子
python
response = requests.get('https://60s.viki.moe/v2/duanzi')
duanzi = response.json()
print(f"😂 {duanzi['content']}")python
response = requests.get('https://60s.viki.moe/v2/duanzi')
duanzi = response.json()
print(f"😂 {duanzi['content']}")Get Daily Luck
获取每日运势
python
response = requests.get('https://60s.viki.moe/v2/luck')
luck = response.json()
print(f"🔮 今日运势")
print(f"综合运势:{luck['总运势']}")
print(f"爱情运势:{luck['爱情运势']}")
print(f"事业运势:{luck['事业运势']}")
print(f"财富运势:{luck['财富运势']}")
print(f"幸运颜色:{luck['幸运颜色']}")
print(f"幸运数字:{luck['幸运数字']}")python
response = requests.get('https://60s.viki.moe/v2/luck')
luck = response.json()
print(f"🔮 今日运势")
print(f"综合运势:{luck['总运势']}")
print(f"爱情运势:{luck['爱情运势']}")
print(f"事业运势:{luck['事业运势']}")
print(f"财富运势:{luck['财富运势']}")
print(f"幸运颜色:{luck['幸运颜色']}")
print(f"幸运数字:{luck['幸运数字']}")Get KFC Meme Text
获取KFC梗文案
python
response = requests.get('https://60s.viki.moe/v2/kfc')
meme = response.json()
print(f"🍗 {meme['text']}")python
response = requests.get('https://60s.viki.moe/v2/kfc')
meme = response.json()
print(f"🍗 {meme['text']}")Get Moyu Calendar
获取摸鱼日历
python
response = requests.get('https://60s.viki.moe/v2/moyu')python
response = requests.get('https://60s.viki.moe/v2/moyu')Returns image
Returns image
with open('moyu.jpg', 'wb') as f:
f.write(response.content)
undefinedwith open('moyu.jpg', 'wb') as f:
f.write(response.content)
undefinedUse Cases
使用场景
Daily Entertainment Bot
每日娱乐机器人
python
def get_morning_entertainment():
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
luck = requests.get('https://60s.viki.moe/v2/luck').json()
message = f"""
☀️ 早安!
📖 每日一言
{quote['hitokoto']}
—— {quote['from']}
🔮 今日运势
综合:{luck['总运势']} ⭐
幸运色:{luck['幸运颜色']}
"""
return messagepython
def get_morning_entertainment():
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
luck = requests.get('https://60s.viki.moe/v2/luck').json()
message = f"""
☀️ 早安!
📖 每日一言
{quote['hitokoto']}
—— {quote['from']}
🔮 今日运势
综合:{luck['总运势']} ⭐
幸运色:{luck['幸运颜色']}
"""
return messageChatbot Fun Commands
聊天机器人趣味指令
python
def handle_fun_command(command):
if 'joke' in command or '笑话' in command:
joke = requests.get('https://60s.viki.moe/v2/duanzi').json()
return f"😂 {joke['content']}"
elif 'quote' in command or '名言' in command:
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
return f"📖 {quote['hitokoto']} —— {quote['from']}"
elif 'luck' in command or '运势' in command:
luck = requests.get('https://60s.viki.moe/v2/luck').json()
return f"🔮 今日运势:{luck['总运势']}\n幸运色:{luck['幸运颜色']}"
elif 'kfc' in command:
meme = requests.get('https://60s.viki.moe/v2/kfc').json()
return f"🍗 {meme['text']}"python
def handle_fun_command(command):
if 'joke' in command or '笑话' in command:
joke = requests.get('https://60s.viki.moe/v2/duanzi').json()
return f"😂 {joke['content']}"
elif 'quote' in command or '名言' in command:
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
return f"📖 {quote['hitokoto']} —— {quote['from']}"
elif 'luck' in command or '运势' in command:
luck = requests.get('https://60s.viki.moe/v2/luck').json()
return f"🔮 今日运势:{luck['总运势']}\n幸运色:{luck['幸运颜色']}"
elif 'kfc' in command:
meme = requests.get('https://60s.viki.moe/v2/kfc').json()
return f"🍗 {meme['text']}"Example Interactions
交互示例
User: "讲个笑话"
用户:"讲个笑话"
python
duanzi = requests.get('https://60s.viki.moe/v2/duanzi').json()
print(f"😂 {duanzi['content']}")python
duanzi = requests.get('https://60s.viki.moe/v2/duanzi').json()
print(f"😂 {duanzi['content']}")User: "今天运势怎么样?"
用户:"今天运势怎么样?"
python
luck = requests.get('https://60s.viki.moe/v2/luck').json()
response = f"""
🔮 您今日的运势:
综合运势:{luck['总运势']}
爱情运势:{luck['爱情运势']}
事业运势:{luck['事业运势']}
财富运势:{luck['财富运势']}
💡 幸运提示
幸运颜色:{luck['幸运颜色']}
幸运数字:{luck['幸运数字']}
"""python
luck = requests.get('https://60s.viki.moe/v2/luck').json()
response = f"""
🔮 您今日的运势:
综合运势:{luck['总运势']}
爱情运势:{luck['爱情运势']}
事业运势:{luck['事业运势']}
财富运势:{luck['财富运势']}
💡 幸运提示
幸运颜色:{luck['幸运颜色']}
幸运数字:{luck['幸运数字']}
"""User: "给我一句励志的话"
用户:"给我一句励志的话"
python
params = {'category': 'literature'}
quote = requests.get('https://60s.viki.moe/v2/hitokoto', params=params).json()
print(f"✨ {quote['hitokoto']}\n —— {quote['from']}")python
params = {'category': 'literature'}
quote = requests.get('https://60s.viki.moe/v2/hitokoto', params=params).json()
print(f"✨ {quote['hitokoto']}\n —— {quote['from']}")