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.7.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for mailgun_cli-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f46a0be979a1782f68a84790bd4cc033c64ce3d4f93f7326a6b77b2cd43fad |
|
MD5 | 04b24012c3a925dc9b5041a6aaf3a42c |
|
BLAKE2b-256 | 509257c937c2c7e34a7b91b299f34b65bc999887ec76a16c2c7bd8fe1adc543a |