Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/issyl0/go-improvmx
An ImprovMX API client
https://github.com/issyl0/go-improvmx
golang improvmx rest-api-client
Last synced: 25 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:20:17.000Z (over 1 year ago)
- Last Synced: 2024-06-21T15:28:58.402Z (5 months ago)
- Topics: golang, improvmx, rest-api-client
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 4
- Watchers: 3
- 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 mainimport (
"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", "[email protected]")
client.UpdateEmailForward("example.com", "hi", "[email protected],[email protected]")
client.DeleteEmailForward("example.com", "hi")
client.DeleteDomain("example.com")
}
```## TODO
- [ ] Tests.