Skip to content

Commit ed393ca

Browse files
authored
Merge pull request #24 from lryong/main
DOC: readme add api doc
2 parents 95836b5 + f1381b1 commit ed393ca

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,16 @@ func main() {
154154
155155
For more detailed documentation, please check on godoc.org 👉 [email-verifier](https://godoc.org/github.com/AfterShip/email-verifier)
156156

157+
## API
158+
159+
We provide a simple **self-hosted** [API server](https://github.com/AfterShip/email-verifier/tree/main/cmd/apiserver) script for reference.
160+
161+
The API interface is very simple. All you need to do is to send a GET request with the following URL.
162+
163+
The `email` parameter would be the target email you want to verify.
164+
165+
`https://{your_host}/v1/{email}/verification`
166+
157167
## Similar Libraries Comparison
158168

159169
| | [email-verifier](https://github.com/AfterShip/email-verifier) | [trumail](https://github.com/trumail/trumail) | [check-if-email-exists](https://reacher.email/) | [freemail](https://github.com/willwhite/freemail) |
@@ -176,8 +186,8 @@ For more detailed documentation, please check on godoc.org 👉 [email-verifier]
176186
| Honeyport dection | 🔜 ||||
177187
| Bounce email check | 🔜 ||||
178188
| **Tech** | 〰️ | 〰️ | 〰️ | 〰️ |
179-
| Provide API | 🔜 ||||
180-
| Free API | 🔜 ||||
189+
| Provide API | ||||
190+
| Free API | ||||
181191
| Language | Go | Go | Rust | JavaScript |
182192
| Active maintain |||||
183193
| High Performance |||||

0 commit comments

Comments
 (0)