Metadata-Version: 2.1
Name: mailgun-cli
Version: 0.1.9
Summary: control mailgun account using cli and python api
Home-page: https://github.com/CircleOnCircles/mailgun-cli
License: UNKNOWN
Keywords: forward,mail,mailgun,cli
Author: Nutchanon Ninyawee 
Author-email: dev@nutchanon.org
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: loguru (>=0.2.5,<0.3.0)
Requires-Dist: pandas (>=0.24.1,<0.25.0)
Requires-Dist: tqdm (>=4.31,<5.0)
Requires-Dist: uplink (>=0.8.0,<0.9.0)
Project-URL: Repository, https://github.com/CircleOnCircles/mailgun-cli
Description-Content-Type: text/markdown

# 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
# 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*
```bash
$ mailgun routes
```
*forward using a csv*
```bash
$ 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](https://docs.google.com/spreadsheets/d/1JOKoNcUMIYtUiahQfP309BhpqU-5uPir1UcsAmLkKaY/edit?usp=sharing). 
   1. First publish your Google sheet to the web by going to File > Publish to the web...
   2. Choose the tab you want, then select Comma-separated values (.csv) as the export format
   3. Grab the URL

## Learning Path
1. https://codingdose.info/2018/08/02/develop-and-publish-with-poetry/
