mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 13:04:34 +00:00
feat: add joke api (#294)
* feat: add joke api close #124 * chore: count boundary * fix: bug fix chore: update README.md * feat: add publicapi.json
This commit is contained in:
37
joke/examples.json
Normal file
37
joke/examples.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"random": [
|
||||
{
|
||||
"title": "Get random n jokes",
|
||||
"description": "Leveraged by https://github.com/taivop/joke-dataset",
|
||||
"run_check": false,
|
||||
"request": {
|
||||
"count": 3
|
||||
},
|
||||
"response": {
|
||||
"jokes": [
|
||||
{
|
||||
"id": "3rpt4l",
|
||||
"title": "In five-card poker, six-high beats a pair...",
|
||||
"body": "",
|
||||
"category": "",
|
||||
"source": "https://www.reddit.com/r/jokes"
|
||||
},
|
||||
{
|
||||
"id": "5sbykr",
|
||||
"title": "Who choked harder the Golden State Warriors or the Atlanta Falcons?",
|
||||
"body": "Hillary Clinton",
|
||||
"category": "",
|
||||
"source": "https://www.reddit.com/r/jokes"
|
||||
},
|
||||
{
|
||||
"id": "52uuuz",
|
||||
"title": "I was wondering why the ball was getting bigger.",
|
||||
"body": "Then it struck me.",
|
||||
"category": "",
|
||||
"source": "https://www.reddit.com/r/jokes"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user