control mailgun account using cli and python api
Project description
mailgun-cli
control mailgun account using cli and python api
Features
- easily create routes for 1-on-1 forwarding mail using a csv file or Google Spreadsheet
Usages
CLI
set the mailgun api key
# bash shell
$ export MAILGUN_API_KEY [your private API key]
# fish shell
$ set -X MAILGUN_API_KEY [your private API key]
You could permanently set it in ~/.bash_profile or ~/.config/fish/config.fish
list all routes
$ mailgun routes
forward using a csv
$ mailgun forward "https://docs.google.com/spreadsheets/d/e/2PACX-1vQX-8YPc7Dja4jn3u0E5MzGdEOPxB9OEI2kDzO_7c-CLpGQ5g8LdPO2W9f6tETrVyBBZvWx3qNAMwPa/pub?output=csv"
install
$ pip install mailgun-cli
✨🍰✨
Forward templete
Google Spreadsheet, Here is a templete.
- First publish your Google sheet to the web by going to File > Publish to the web...
- Choose the tab you want, then select Comma-separated values (.csv) as the export format
- Grab the URL
Learning Path
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailgun-cli-0.1.9.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mailgun-cli-0.1.9.tar.gz.
File metadata
- Download URL: mailgun-cli-0.1.9.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03d1a1bbd2ed234a6909c2c41b5255342a3f22799c0c17c579d14733999a3200
|
|
| MD5 |
6049b21bcebe241fd7cb9078f9f4216c
|
|
| BLAKE2b-256 |
c86a90543b21ef7012fc53d1b3f28676d2f53b8c49136c6ab123bb969c702d33
|
File details
Details for the file mailgun_cli-0.1.9-py3-none-any.whl.
File metadata
- Download URL: mailgun_cli-0.1.9-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd1a291f9b41320486fb12bfe49cdb6ffa6767676ba3dbe22839f2f1f013937a
|
|
| MD5 |
c9cd5cf4fccab70503ca9af19a0f6e8e
|
|
| BLAKE2b-256 |
da1ed3876931f1d2be60ebd8e64701ce811b7d5c517f72e80a40acfb3dda4b90
|