Email-api
快速开始
pip install email-api
获取邮箱
email_api.getEmail(arg)
获取验证码
email_api.getEmailCode()
自定义邮箱名称
import email_api
your_email_name='name' # name@example.com
print(email_api.getEmail(your_email_name))
print(email_api.getEmailCode())
########################################
name@example.com
123456
########################################
随机邮箱名称
import email_api
print(email_api.getEmail(None))
print(email_api.getEmailCode())
########################################
random@example.com
123456
########################################
注意
方法 getEmail() 必须携带参数
随机邮箱参数为None
自定义邮箱只需设置邮箱名称,不能带入后缀
import email_api
# name@example.com
[✓] your_email_name='name'
[x] your_email_name='name@example.com'
关于验证码提取
- 支持纯数字的4-6位验证码
- 暂不支持混合数字字母或纯字母的验证码
支持
Release files for email-api 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| email_api-0.2.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| email_api-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / email_api-0.2.tar.gz
| Download URL | email_api-0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64b08a06a95427e0908b06419fa08efd9b15963372c9cea1c16e5c5f73bf571c
|
|
BLAKE2b-256 checksum How to use checksums |
d8b2a0e4b784e84ccfbbd3409f47c75946b32e5aa0592cd195763d7d9acd5411
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Release files / email_api-0.2-py3-none-any.whl
| Download URL | email_api-0.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d3edcf2123f6ebb4d92e86294652a71793449ce6957fb6d7db61435eab9d1ec
|
|
BLAKE2b-256 checksum How to use checksums |
c84a4df604a87da676201e017fbb738a7c24540d2f476dc2f25c5a1763619009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|