This repository has been archived on 2026-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RequestCounter/README.md
T

30 lines
1.1 KiB
Markdown
Raw Normal View History

2022-02-03 20:02:38 +08:00
<p align="center">
2022-02-04 20:35:04 +08:00
<a href="https://github.com/MarkusJoe/FlaskRequestCounter">
2022-02-03 20:02:38 +08:00
<img src="https://img.shields.io/badge/Python-3.9.x-blue.svg" alt="PythonVersion">
<img src="https://img.shields.io/badge/LINCESE-Apache2.0-orange.svg" alt="LICENSE">
2022-02-04 12:57:24 +08:00
<img src="https://img.shields.io/badge/Falsk-2.0.2-purple" alt="FlaskVersion">
2022-02-03 20:02:38 +08:00
</a>
</p>
2022-02-04 12:57:24 +08:00
## Python 版访问次数计数器使用了flask 作为服务端接收请求
2022-02-08 12:29:56 +08:00
* [文档](https://request-counter-docs.vercel.app/#/)
2022-02-04 12:57:24 +08:00
### 开源
- 本项目以[Apache-2.0](./LICENSE)许可开源, 即:
- 你可以直接使用该项目提供的功能, 无需任何授权
- 你可以在**注明来源版权信息**的情况下对源代码进行任意分发和修改以及衍生
2022-02-06 11:53:28 +08:00
## 部署
> 由于对`vercel`不熟悉, vercel的配置文件搞不明白所以暂时没有vercel的配置文件, 我也试了很多方法去部署但是要么是500要么是400
2022-02-04 12:57:24 +08:00
## 调用须知
- API支持`GET``POST` 方法请求
- 最大可以计数`10`位数, 超过则重置
2022-02-06 11:53:28 +08:00
- 可以自定义显示位数默认`7`位数最大`10`
# 一些信息
- 使用了Python3.6 的标准库`Sqlite3`进行数据库操作
2022-02-04 11:08:34 +08:00