Skip to content

Commit

Permalink
__init__.py: Added example usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicbyte committed Aug 6, 2023
1 parent 89cdef0 commit 501f407
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tempmail/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
"""tempmail-python is a Python library for generating and managing temporary email addresses using the 1secmail service.
Example usage:
## Example usage:
```python
TODO
from tempmail import EMail
email = EMail()
# ... request some email ...
msg = email.wait_for_message()
print(msg.body) # Hello World!\n
```
"""

Expand Down

0 comments on commit 501f407

Please sign in to comment.