404studios-api 中文文档教程
About
API 本身的 JavaScript 包装器: 404 Studios API 是一个强大的 API,可用于获取笑话、图像等! 更多即将推出。
3+ Endpoins. More being added very soon.
Insanely Fast Responses
Example Usage:
Jokes
const API = require('404studios-api');
async function getJoke(){
let {joke, answer} = await API.joke();
console.log(joke, answer);
}
getJoke(); //--> "Where do you learn to make a banana split?", "Sundae school"
GIFs and Images
const API = require('404studios-api');
//Hug GIF
async function hugGIF() {
let GIF = await API.animeHug();
console.log(GIF);
}
hugGIF(); //--> https://c.tenor.com/ixaDEFhZJSsAAAAM/anime-choke.gif
//Kiss GIF
async function kissGIF() {
let GIF = await API.animeKiss();
console.log(GIF);
}
kissGIF(); //--> https://c.tenor.com/Cchd6VOMDIwAAAAM/forehead-forehead-kiss.gif
更多端点将在不久的将来出现,这个 API 处于测试阶段,很快就会完全发布。
About
This is a JavaScript wrapper for 404 Studios Api
The API itself: 404 Studios API is a powerful API to get jokes, images, and much more! More coming soon.
3+ Endpoins. More being added very soon.
Insanely Fast Responses
Example Usage:
Jokes
const API = require('404studios-api');
async function getJoke(){
let {joke, answer} = await API.joke();
console.log(joke, answer);
}
getJoke(); //--> "Where do you learn to make a banana split?", "Sundae school"
GIFs and Images
const API = require('404studios-api');
//Hug GIF
async function hugGIF() {
let GIF = await API.animeHug();
console.log(GIF);
}
hugGIF(); //--> https://c.tenor.com/ixaDEFhZJSsAAAAM/anime-choke.gif
//Kiss GIF
async function kissGIF() {
let GIF = await API.animeKiss();
console.log(GIF);
}
kissGIF(); //--> https://c.tenor.com/Cchd6VOMDIwAAAAM/forehead-forehead-kiss.gif
More endpoints will be coming in the near future, this API is sitll in beta and will be releasing fully very soon.
更多
你可能也喜欢
- 24points-cli 中文文档教程
- 605-react-date-range 中文文档教程
- @12stonechurch/react-native-chromecast 中文文档教程
- @5rabbits/time-input 中文文档教程
- @9softstudio/react-breadcrumb 中文文档教程
- @9softstudio/react-monthpicker 中文文档教程
- @aacassandra/font-icons 中文文档教程
- @aaxis/react-native-fast-image 中文文档教程
- @ab-inbev-z-tech/fintech-identity 中文文档教程
- @abaplint/transpiler-cli 中文文档教程