能否集成chinese-poetry库使其返回一首完整的古诗词?
jerry011235 opened this issue · 4 comments
jerry011235 commented
chinese-poetry官网:http://shici.store/chinese-poetry/
github:https://github.com/chinese-poetry/chinese-poetry
xenv commented
问题不在程序上面,我是直接返回 redis 里面的写死的 json。
如果是 gushi.ci 的 API,目前版本的,我可能不会再改动了,现在在开发 2.0 版本(基本上等于重写),会有这一个功能。
如果是你自己搭建环境使用的话,只需要在录入数据的时候自行增加原诗词到 json,或者甚至直接使用上面的库的所有诗词来随机都行。
jerry011235 commented
谢谢👍
xenv commented
新版本已上线:
https://www.jinrishici.com
jerry011235 commented
@xenv 看到了,感恩,点个赞:)