# third-party-api
**Repository Path**: xhowar/third-party-api
## Basic Information
- **Project Name**: third-party-api
- **Description**: 第三方接口实现。如:支付、推送、短信等等(Third party interface implementation. Such as: payment, push, SMS and so on)
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-30
- **Last Updated**: 2021-06-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# [第三方 API(third-party-api)](https://github.com/shishuihao/third-party-api)
```text
████████╗██╗ ██╗██╗██████╗ ██████╗ ██████╗ █████╗ ██████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ██╗
╚══██╔══╝██║ ██║██║██╔══██╗██╔══██╗ ██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝╚██╗ ██╔╝ ██╔══██╗██╔══██╗██║
██║ ███████║██║██████╔╝██║ ██║ ██████╔╝███████║██████╔╝ ██║ ╚████╔╝ ███████║██████╔╝██║
██║ ██╔══██║██║██╔══██╗██║ ██║ ██╔═══╝ ██╔══██║██╔══██╗ ██║ ╚██╔╝ ██╔══██║██╔═══╝ ██║
██║ ██║ ██║██║██║ ██║██████╔╝ ██║ ██║ ██║██║ ██║ ██║ ██║ ██║ ██║██║ ██║
╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝
```
## 徽章
### Build
[](https://travis-ci.com/shishuihao/third-party-api)
[](https://circleci.com/gh/shishuihao/third-party-api)
[](https://github.com/shishuihao/third-party-api/actions/workflows/gradle.yml?query=workflow%3AJava)
### Code Coverage
[](https://codecov.io/gh/shishuihao/third-party-api)
### Analysis
[](https://www.codacy.com/gh/shishuihao/third-party-api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=shishuihao/third-party-api&utm_campaign=Badge_Grade)
[](https://codebeat.co/projects/github-com-shishuihao-third-party-api-main)
[](https://codeclimate.com/github/shishuihao/third-party-api/maintainability)
[](https://snyk.io/test/github/shishuihao/third-party-api)
### Chat
[](https://gitter.im/third-party-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
### Dependencies
[](https://depfu.com)
### Size



### Downloads

### Funding
### Issue Tracking




[](http://makeapullrequest.com)
### License
[![Apache 2.0 License][license-shield]][license-url]
### Rating
### Social

[](https://github.com/shishuihao/third-party-api/network)

[](https://github.com/shishuihao/third-party-api/stargazers)

### Version

### Platform & Version Support
### Monitoring
### Activity



### Other
[](https://github.com/shishuihao/third-party-api)
[](https://gitee.com/shishuihao/third-party-api)
[](https://sourcegraph.com/github.com/shishuihao/third-party-api?badge)
[![REUSE status][reuse-shield]][reuse-url]
[](https://github.com/ellerbrock/open-source-badge/)
## [报告 Bug(Report Bug)](https://github.com/shishuihao/third-party-api/issues) [请求功能(Request Feature)](https://github.com/shishuihao/third-party-api/issues)
## 目录(Table of Contents)
1. [关于该项目(About The Project)](#关于该项目-about-the-project)
/test
- [用什么构建(Built With)](#用什么构建-built-with)
2. [入门指南(Getting Started)](#入门指南-getting-started)
- [安装(Installation)](#安装-installation)
3. [用法(Usage)](#用法-usage)
4. [路线图(Roadmap)](#路线图-roadmap)
5. [贡献(Contributing)](#贡献-contributing)
6. [许可证(License)](#许可证-license)
7. [联系方式(Contact)](#联系方式-contact)
8. [致谢(Acknowledgements)](#致谢-acknowledgements)
## 关于该项目 About The Project
[![Product Name Screen Shot][product-screenshot]](https://shishuihao.github.io/third-party-api/)
GitHub 上有很多很棒的第三方接口集成,但是我找不到真正适合我需要的,因此我创建了这个我认为比较优雅的实现。
我想创建一个第三方接口集成,如此出色,以至于它将成为您需要的最后一个-我想就是这样。
### 设计理念
- 尽量领域驱动设计
- 尽量代码规范
- 尽量单元测试
- 尽量使用官方 sdk 或者声明式 HTTP(feign)
- 尽量事件驱动
### 特点
- 高度抽象,统一接口,模块化设计,方法使用更优雅
- 支持多种可插拔机制,扩展性好,可按需使用
- 支持纯 java 使用,也支持多种框架内使用(一般会自动配置)
- 支持多配置参数,支持多配置参数方式
- 支持发布事件
- 详细可参考[用法(Usage)](#用法-usage)
当然,由于您的需求可能不同,因此没有一个项目可以为所有项目提供服务。
因此,我将在不久的将来添加更多内容。
您也可以通过分叉此存储库并创建请求请求或打开问题来提出更改建议。
感谢所有为该项目的扩展做出贡献的人们!
致谢中列出了一些我认为有用的常用资源。
### 用什么构建 Built With
本节列出在构建项目时使用的所有主要框架。在[致谢(Acknowledgements)](#致谢-acknowledgements)部分留下任何附加组件/插件。
- [Gradle](https://gradle.org/)
- [Java 8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html)
## 入门指南 Getting Started
### 安装 Installation
- Maven
```xml
cn.shishuihao
third-party-api
latest
```
- Gradle
```groovy
compile 'cn.shishuihao:third-party-api:latest'
```
## 用法 Usage
- 插拔机制
- [x] [SPI机制](https://www.baeldung.com/java-spi)
- [x] 通过容器
- [x] [springboot](/third-party-api-spring-boot-starter)
- [集成到springboot](/third-party-api-spring-boot-starter)
- [人脸 集成(sms integration)](/third-party-api-face)
- [支付集成(pay integration)](/third-party-api-pay)
- [推送集成(push integration)](/third-party-api-push)
- [SMS 集成(sms integration)](/third-party-api-sms)
- [语音合成 集成(sms integration)](/third-party-api-tts)
- 登录集成
- 分享集成
- _有关更多示例,请参考[文档](https://shishuihao.github.io/third-party-api/)_
- _For more examples, please refer to the [Documentation](https://shishuihao.github.io/third-party-api/)_
## 路线图 Roadmap
- 请参阅[未解决的问题](https://github.com/shishuihao/third-party-api/issues),以获取提出了功能(和已知问题)的列表。
- See the [open issues](https://github.com/shishuihao/third-party-api/issues) for a list of proposed features (and known issues).
## 贡献 Contributing
1. 复刻该项目(Fork the Project)
2. 创建您的功能分支(Create your Feature Branch) (`git checkout -b feature/AmazingFeature`)
3. 提交您的更改(Commit your Changes) (`git commit -m 'Add some AmazingFeature'`)
4. 推到分支(Push to the Branch) (`git push origin feature/AmazingFeature`)
5. 提交拉取请求(Open a Pull Request)
## 许可证 License
- 根据 Apache 2.0 许可证分发。有关更多信息,请参见[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
- Distributed under the Apache 2.0 License. See [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) for more information.
## 联系方式 Contact
[shishuihao](https://github.com/shishuihao/) -  - 1285173409@qq.com
下面链接(Project Link):
## 致谢 Acknowledgements
- [Spring Boot](https://spring.io/projects/spring-boot)
- [Mybatis-Plus](https://mp.baomidou.com/)
- [Best-README-Template](https://github.com/othneildrew/Best-README-Template)
## 捐助 Donate
如果您觉得我的项目对您有帮助,并且您愿意给予我一点小小的支持,您可以通过以下方式向我捐助,这样可以维持项目持续地发展,灰常感谢!(/ω\)
| 支付宝(Alipay) | 微信(Wechat) |
| :---------------------------------: | :---------------------------------: |
|  |  |
❤❤❤
## 捐助者名单 Donor list
(如果这里还没有你的名字?请发邮件至 1285173409@qq.com 告诉我)
| 捐助日期 | 捐助者 | 捐助金额 |
| ---- | --- | ---- |
## Star 趋势
[](https://starchart.cc/shishuihao/third-party-api)
[license-shield]: https://img.shields.io/github/license/shishuihao/third-party-api.svg
[license-url]: https://github.com/shishuihao/third-party-api/blob/main/LICENSE
[reuse-shield]: https://api.reuse.software/badge/github.com/shishuihao/third-party-api
[reuse-url]: https://api.reuse.software/info/github.com/shishuihao/third-party-api
[product-screenshot]: images/screenshot.png