An open API service indexing awesome lists of open source software.

https://github.com/dynle/testmail-helper

Use the Testmail.app API on command line with Python to see inbox more readably.
https://github.com/dynle/testmail-helper

api command-line python testmail

Last synced: 7 months ago
JSON representation

Use the Testmail.app API on command line with Python to see inbox more readably.

Awesome Lists containing this project

README

          

# testmail-helper
Command-line program using [Testmail.app](https://testmail.app/) API to see inbox more readably.

## Getting Started
Install packages by pip.
```bash
$ pip install -r requirements.txt
```

Edit the json file which contains api key and namespace of your Testmail.app account.

[credentials.json](credentials.json)
```json
{
"myAccount": {
"apiKey" : "your api key",
"namespace" : "your namespace"
}
}
```
## Usage
```bash
# No tag
$ python testmail-helper.py

# With tag
$ python testmail-helper.py --tag your_tag
```

## Output Example
```
INBOX:

----------------------------------
From: dynle
Subject: Example
Time: 2023-00-00 00:00:00
Testmail.app Tag: example
Content:
sample text

----------------------------------
...
```

## License

[MIT](https://choosealicense.com/licenses/mit/)