# kindleclock **Repository Path**: fish_dried/kindleclock ## Basic Information - **Project Name**: kindleclock - **Description**: kindle网页版的时钟 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-12-26 - **Last Updated**: 2023-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kindleclock > A project of mykindle > 实时天气api接口:和风天气 > 每日一句api接口:一言开发者中心 ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # 和风天气api地址 https://dev.qweather.com/ #获取城市id: https://geoapi.qweather.com/v2/city/lookup?location=zhongshan&key=your key #获取城市天气: https://devapi.qweather.com/v7/weather/now?location=101281701&key=your key # 一言开发者中心api地址 https://developer.hitokoto.cn/ # 每日一句接口及其使用方法: # 从7种分类中随机抽取 https://v1.hitokoto.cn/ # 请求获得一个分类是漫画的句子 https://v1.hitokoto.cn/?c=b #请求获得一个来自网络的句子,并以纯文本格式输出 https://v1.hitokoto.cn/?c=f&encode=text # 7种分类分别是 a:动画 b:漫画 c:游戏 d:文学 e:原创 f:来自网络 g:其他 h:影视 i:诗词 j:网易云 k:哲学 l:抖机灵 其他:作为动画类型处理