提供临时电子邮件地址的联机服务包装:https://temp-mail.ru/
temp-mail的Python项目详细描述
临时邮件
temp-mail.ru服务的python api包装器。临时邮件是一项免费使用匿名邮件的服务。您可以在api.temp-mail.ru中查看完整的api规范。
安装
使用PIP安装:
$ pip install temp-mail
使用量
从给定的电子邮件登录名和域获取所有电子邮件:
from tempmail import TempMail tm = TempMail(login='denis', domain='@gnail.pw') print tm.get_mailbox() # list of emails in denis@gnail.pw
生成电子邮件地址并从中获取电子邮件:
from tempmail import TempMail tm = TempMail() email = tm.get_email_address() # v5gwnrnk7f@gnail.pw print tm.get_mailbox(email) # list of emails
更改
0.2(2013-08-20)
- 改进的自述文件
- 已创建GitHub页面
- 类方法的改进docstring
- 一些小的修正
0.1(2013-08-18)
- 初始版本