https://github.com/issyl0/go-improvmx
An ImprovMX API client
https://github.com/issyl0/go-improvmx
golang improvmx rest-api-client
Last synced: about 1 year ago
JSON representation
An ImprovMX API client
- Host: GitHub
- URL: https://github.com/issyl0/go-improvmx
- Owner: issyl0
- License: mit
- Created: 2021-06-18T17:49:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:20:17.000Z (about 3 years ago)
- Last Synced: 2025-03-25T08:11:14.455Z (about 1 year ago)
- Topics: golang, improvmx, rest-api-client
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-improvmx
A Golang API client for [ImprovMX](https://improvmx.com), my email forwarding service of choice.
## Usage
```golang
package main
import (
"os"
improvmx "github.com/issyl0/go-improvmx"
)
func main() {
client := improvmx.NewClient(os.Getenv("IMPROVMX_API_TOKEN"))
client.CreateDomain("example.com")
client.CreateEmailForward("example.com", "hi", "person@realdomain.com")
client.UpdateEmailForward("example.com", "hi", "person@realdomain.com,another@realdomain.com")
client.DeleteEmailForward("example.com", "hi")
client.DeleteDomain("example.com")
}
```
## TODO
- [ ] Tests.