email-api


Nameemail-api JSON
Version 0.2 PyPI version JSON
download
home_pagehttps://github.com/xu0329
Summaryquickly get the verification code from the temp email
upload_time2024-03-24 10:42:56
maintainerNone
docs_urlNone
authorXuHongsheng
requires_pythonNone
licenseMIT
keywords email temp email verification code
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Email-api

- ### [快速开始](#快速开始)

- ### [注意](#注意)
- ### [支持](#支持)


## 快速开始

```python
pip install email-api
```


***获取邮箱***
```python
email_api.getEmail(arg)
```
***获取验证码***
```python
email_api.getEmailCode()
```

\
\
**自定义邮箱名称**
```python
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

########################################
```

\
**随机邮箱名称**
```python
import email_api


print(email_api.getEmail(None))
print(email_api.getEmailCode())

########################################

random@example.com
123456

########################################
```


## 注意
### 方法 getEmail() 必须携带参数
随机邮箱参数为None

自定义邮箱只需设置邮箱名称,不能带入后缀

```python
import email_api

# name@example.com

[✓] your_email_name='name' 

[x] your_email_name='name@example.com'
```

### 关于验证码提取
* **支持纯数字的4-6位验证码**
* **暂不支持混合数字字母或纯字母的验证码**

[验证码提取部分 *Line 59* ](email_api/emailapi.py/) 

## 支持
* [mail.cx](https://mail.cx/#/)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xu0329",
    "name": "email-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "email temp email verification code",
    "author": "XuHongsheng",
    "author_email": "xuhongsheng5@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/d8/b2/a0e4b784e84ccfbbd3409f47c75946b32e5aa0592cd195763d7d9acd5411/email_api-0.2.tar.gz",
    "platform": "any",
    "description": "# Email-api\r\n\r\n- ### [\u5feb\u901f\u5f00\u59cb](#\u5feb\u901f\u5f00\u59cb)\r\n\r\n- ### [\u6ce8\u610f](#\u6ce8\u610f)\r\n- ### [\u652f\u6301](#\u652f\u6301)\r\n\r\n\r\n## \u5feb\u901f\u5f00\u59cb\r\n\r\n```python\r\npip install email-api\r\n```\r\n\r\n\r\n***\u83b7\u53d6\u90ae\u7bb1***\r\n```python\r\nemail_api.getEmail(arg)\r\n```\r\n***\u83b7\u53d6\u9a8c\u8bc1\u7801***\r\n```python\r\nemail_api.getEmailCode()\r\n```\r\n\r\n\\\r\n\\\r\n**\u81ea\u5b9a\u4e49\u90ae\u7bb1\u540d\u79f0**\r\n```python\r\nimport email_api\r\n\r\n\r\nyour_email_name='name'  # name@example.com\r\nprint(email_api.getEmail(your_email_name))\r\nprint(email_api.getEmailCode())\r\n\r\n########################################\r\n\r\nname@example.com\r\n123456\r\n\r\n########################################\r\n```\r\n\r\n\\\r\n**\u968f\u673a\u90ae\u7bb1\u540d\u79f0**\r\n```python\r\nimport email_api\r\n\r\n\r\nprint(email_api.getEmail(None))\r\nprint(email_api.getEmailCode())\r\n\r\n########################################\r\n\r\nrandom@example.com\r\n123456\r\n\r\n########################################\r\n```\r\n\r\n\r\n## \u6ce8\u610f\r\n### \u65b9\u6cd5 getEmail() \u5fc5\u987b\u643a\u5e26\u53c2\u6570\r\n\u968f\u673a\u90ae\u7bb1\u53c2\u6570\u4e3aNone\r\n\r\n\u81ea\u5b9a\u4e49\u90ae\u7bb1\u53ea\u9700\u8bbe\u7f6e\u90ae\u7bb1\u540d\u79f0\uff0c\u4e0d\u80fd\u5e26\u5165\u540e\u7f00\r\n\r\n```python\r\nimport email_api\r\n\r\n# name@example.com\r\n\r\n[\u2713] your_email_name='name' \r\n\r\n[x] your_email_name='name@example.com'\r\n```\r\n\r\n### \u5173\u4e8e\u9a8c\u8bc1\u7801\u63d0\u53d6\r\n* **\u652f\u6301\u7eaf\u6570\u5b57\u76844-6\u4f4d\u9a8c\u8bc1\u7801**\r\n* **\u6682\u4e0d\u652f\u6301\u6df7\u5408\u6570\u5b57\u5b57\u6bcd\u6216\u7eaf\u5b57\u6bcd\u7684\u9a8c\u8bc1\u7801**\r\n\r\n[\u9a8c\u8bc1\u7801\u63d0\u53d6\u90e8\u5206 *Line 59* ](email_api/emailapi.py/) \r\n\r\n## \u652f\u6301\r\n* [mail.cx](https://mail.cx/#/)\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "quickly get the verification code from the temp email",
    "version": "0.2",
    "project_urls": {
        "Homepage": "https://github.com/xu0329"
    },
    "split_keywords": [
        "email",
        "temp",
        "email",
        "verification",
        "code"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c84a4df604a87da676201e017fbb738a7c24540d2f476dc2f25c5a1763619009",
                "md5": "1dc9696cf9b368fa92a2c6d04bc46c93",
                "sha256": "0d3edcf2123f6ebb4d92e86294652a71793449ce6957fb6d7db61435eab9d1ec"
            },
            "downloads": -1,
            "filename": "email_api-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1dc9696cf9b368fa92a2c6d04bc46c93",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4188,
            "upload_time": "2024-03-24T10:42:54",
            "upload_time_iso_8601": "2024-03-24T10:42:54.371460Z",
            "url": "https://files.pythonhosted.org/packages/c8/4a/4df604a87da676201e017fbb738a7c24540d2f476dc2f25c5a1763619009/email_api-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8b2a0e4b784e84ccfbbd3409f47c75946b32e5aa0592cd195763d7d9acd5411",
                "md5": "2b64ca9fa6b90599a9db8137b6741793",
                "sha256": "64b08a06a95427e0908b06419fa08efd9b15963372c9cea1c16e5c5f73bf571c"
            },
            "downloads": -1,
            "filename": "email_api-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2b64ca9fa6b90599a9db8137b6741793",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3857,
            "upload_time": "2024-03-24T10:42:56",
            "upload_time_iso_8601": "2024-03-24T10:42:56.935920Z",
            "url": "https://files.pythonhosted.org/packages/d8/b2/a0e4b784e84ccfbbd3409f47c75946b32e5aa0592cd195763d7d9acd5411/email_api-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-24 10:42:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "email-api"
}
        
Elapsed time: 0.20597s