兰 亭 墨 苑
期货 · 量化 · AI · 终身学习
首页
归档
编辑文章
标题 *
URL 别名 *
内容 *
(支持 Markdown 格式)
Random Word API Endpoints /all Returns all stored words. This will be a huge data dump and will take a long time to fetch and will probably slow down your application. /word Return one stored word randomly. Options can be further specified, see the parameters menu. /languages Return a list of stored language codes. Useful if you want a multilanguage app. See GitHub to find out how to add your own. Parameters The parameters can be combined. ?number Sets the number of requested words. If it exceeds the maximum stored amount, it will just return all of them. For example: https://random-word-api.herokuapp.com/word?number=42 would return 42 words. ?length Sets the length of requested words. This will only return words that contain x amount of letters. For example: https://random-word-api.herokuapp.com/word?length=7 would return a word with a length of seven. ?lang Sets the language of requested words. Currently supported languages: English (just don't provide the parameter) Spanish (?lang=es) Italian (?lang=it) German (?lang=de) French (?lang=fr) Chinese (?lang=zh) Brazilian Portuguese (?lang=pt-br) For example: https://random-word-api.herokuapp.com/all?lang=zh would return all Chinese words. How To Add You Own language This project is on GitHub. File a PR with your favourite language!
配图 (可多选)
选择新图片文件或拖拽到此处
标签
更新文章
删除文章