rspier / pobox-bulk-go

a go client for the Pobox bulk forwarding configuration API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pobox Bulk API Client in Go

This is a small client for the Pobox Bulk Forwarding configuration API, written in Go.

GoDoc

Examples

Please see the Tools below for examples for how to use the API.

Tools

Use --help to see all flags.

Authentication goes in a yaml file ($PWD/.pobox-api-auth, but configurable with the --authfile flag). It looks like:

user: "GUI-GOES-HERE"
pass: "APIKEY"

sync

go run cmd/sync/sync.go  --domain=mydomain.com --mapfile=routes.csv

example routes.csv:

foo,foo@somewhere.com
bar,boo@elsewhere.com

NOTE: the left hand side does not contain the domain.

dump

go run cmd/dump/dump.go

The -d flag changes the output delimiter.

About

a go client for the Pobox bulk forwarding configuration API

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%